1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-26 07:33:47 +00:00

* lisp/ehelp.el (electric-help-map): Use button-buffer-map.

Fixes: debbugs:10917
This commit is contained in:
Glenn Morris 2012-10-06 16:22:52 -07:00
parent addc11ed80
commit 32939005d6
2 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,8 @@
2012-10-06 Glenn Morris <rgm@gnu.org>
* ehelp.el (electric-help-mode): Use help-mode rather than
non-existent mode `help'. (Bug#10917)
non-existent mode `help'.
(electric-help-map): Use button-buffer-map. (Bug#10917)
* textmodes/reftex-vars.el (reftex-create-bibtex-header)
(reftex-create-bibtex-footer): Fix custom types.

View File

@ -61,6 +61,8 @@
(defvar electric-help-map
(let ((map (make-keymap)))
;; FIXME fragile. Should derive from help-mode-map in a smarter way.
(set-keymap-parent map button-buffer-map)
;; allow all non-self-inserting keys - search, scroll, etc, but
;; let M-x and C-x exit ehelp mode and retain buffer:
(suppress-keymap map)