Use command substitution for exit-recursive-edit
* lisp/bindings.el (mode-line-modes): * lisp/emacs-lisp/checkdoc.el (checkdoc-recursive-edit): Use command substitution for 'exit-recursive-edit'.
This commit is contained in:
parent
4b3dc7a139
commit
ec0527d8e9
2 changed files with 5 additions and 2 deletions
|
@ -828,7 +828,8 @@ MSG is the error that was found, which is displayed in a help buffer."
|
|||
"\n\nEdit to fix this problem, and press C-M-c to continue.")))
|
||||
(shrink-window-if-larger-than-buffer
|
||||
(get-buffer-window "*Checkdoc Help*"))
|
||||
(message "When you're done editing press C-M-c to continue.")
|
||||
(message (substitute-command-keys
|
||||
"When you're done editing press \\[exit-recursive-edit] to continue."))
|
||||
(unwind-protect
|
||||
(recursive-edit)
|
||||
(if (get-buffer-window "*Checkdoc Help*")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue