Merge pull request #123 from bandresen/pr__app-irc

app/irc: two small fixes
This commit is contained in:
Henrik Lissner 2017-06-25 02:14:39 +02:00 committed by GitHub
commit 74c63ba324
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ If INHIBIT-WORKSPACE (the universal argument) is non-nil, don't spawn a new
workspace for it." workspace for it."
(interactive "P") (interactive "P")
(and (+irc-setup-wconf inhibit-workspace) (and (+irc-setup-wconf inhibit-workspace)
(cl-loop for network in +irc-connections (cl-loop for network in circe-network-options
collect (circe (car network))))) collect (circe (car network)))))
;;;###autoload ;;;###autoload

View file

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