; Small fix for 'grep-change-to-grep-edit-mode'
* lisp/progmodes/grep.el (grep-change-to-grep-edit-mode): Use 'substitute-command-keys' like in 'occur-edit-mode'.
This commit is contained in:
parent
5e377f4fcc
commit
3924730200
1 changed files with 2 additions and 1 deletions
|
@ -1122,7 +1122,8 @@ The only editable texts in a Grep-Edit buffer are the match results."
|
|||
(setq buffer-undo-list nil)
|
||||
(add-hook 'after-change-functions #'occur-after-change-function nil t)
|
||||
(run-mode-hooks 'grep-edit-mode-hook)
|
||||
(message "Editing: \\[grep-edit-save-changes] to return to Grep mode"))
|
||||
(message (substitute-command-keys
|
||||
"Editing: Type \\[grep-edit-save-changes] to return to Grep mode")))
|
||||
|
||||
(defun grep-edit-save-changes ()
|
||||
"Switch back to Grep mode."
|
||||
|
|
Loading…
Reference in a new issue