1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-22 18:35:09 +00:00

* lisp/simple.el (messages-buffer-mode-map): Unbind "g".

This commit is contained in:
Glenn Morris 2013-09-17 16:27:10 -04:00
parent 9c0ad4f7bd
commit 2b42da9837
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2013-09-17 Glenn Morris <rgm@gnu.org>
* simple.el (messages-buffer-mode-map): Unbind "g".
2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
* help-mode.el (help-mode-finish): Use derived-mode-p.

View File

@ -7344,6 +7344,12 @@ and setting it to nil."
buffer-invisibility-spec)
(setq buffer-invisibility-spec nil)))
(defvar messages-buffer-mode-map
(let ((map (make-sparse-keymap)))
(set-keymap-parent map special-mode-map)
(define-key map "g" nil) ; nothing to revert
map))
(define-derived-mode messages-buffer-mode special-mode "Messages"
"Major mode used in the \"*Messages*\" buffer.")