mirror of
https://github.com/vale981/ement.el
synced 2025-03-04 17:01:39 -05:00
Fix: (ement-room-compose-from-minibuffer) Use abort-recursive-edit
Thanks to @vizs for reporting.
This commit is contained in:
parent
2b2da7fbe5
commit
4cec9adc02
1 changed files with 1 additions and 2 deletions
|
@ -1894,7 +1894,6 @@ use it as the initial message contents."
|
|||
(ement-room-display-name room)))))
|
||||
(pop-to-buffer compose-buffer)))
|
||||
|
||||
(declare-function minibuffer-keyboard-quit "delsel")
|
||||
(defun ement-room-compose-from-minibuffer ()
|
||||
"Edit the current message in a compose buffer.
|
||||
To be called from a minibuffer opened from
|
||||
|
@ -1921,7 +1920,7 @@ To be called from a minibuffer opened from
|
|||
(add-hook 'window-configuration-change-hook show-buffer-fn-symbol)))))
|
||||
(fset compose-fn-symbol compose-fn)
|
||||
(add-hook 'minibuffer-exit-hook compose-fn-symbol)
|
||||
(minibuffer-keyboard-quit)))
|
||||
(abort-recursive-edit)))
|
||||
|
||||
(defun ement-room-compose-send ()
|
||||
"Prompt to send the current compose buffer's contents.
|
||||
|
|
Loading…
Add table
Reference in a new issue