Change: (ement-room-read-string) Enable visual-line-mode

This commit is contained in:
Adam Porter 2021-08-06 08:49:43 -05:00
parent f1ee6fd913
commit d1da524246

View file

@ -1058,6 +1058,7 @@ and erases the buffer."
(lambda ()
"Bind keys and variables locally (to be called in minibuffer)."
(setq-local ement-room room) (setq-local ement-session session)
(visual-line-mode 1)
;; HACK: This probably isn't the best way to do this.
(let ((map (make-sparse-keymap)))
(set-keymap-parent map minibuffer-local-map)