app/irc: get rid of non-interactive #'end-of-buffer warning

This commit is contained in:
Benjamin Andresen 2017-06-24 20:24:20 +02:00
parent 679615899d
commit ca3184b685

View file

@ -149,7 +149,7 @@ playback.")
"Ensure entering insert mode will put us at the prompt, unless editing
after prompt marker."
(when (> (marker-position lui-input-marker) (point))
(end-of-buffer)))
(goto-char (point-max))))
(add-hook! 'lui-mode-hook
(add-hook 'evil-insert-state-entry-hook #'+irc|evil-insert nil t)))