diff options
| author | Glenn Morris | 2012-10-06 16:22:52 -0700 |
|---|---|---|
| committer | Glenn Morris | 2012-10-06 16:22:52 -0700 |
| commit | 32939005d60a106798ebc8bdd3c4a6180e19902d (patch) | |
| tree | 09154ea46cf3bbc25beb9416ced283f767dbcd68 | |
| parent | addc11ed80db5e01c96ad587c4d848df0abc1cd2 (diff) | |
| download | emacs-32939005d60a106798ebc8bdd3c4a6180e19902d.tar.gz emacs-32939005d60a106798ebc8bdd3c4a6180e19902d.zip | |
* lisp/ehelp.el (electric-help-map): Use button-buffer-map.
Fixes: debbugs:10917
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/ehelp.el | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c573b9de5b9..2453dc2177a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | 2012-10-06 Glenn Morris <rgm@gnu.org> | 1 | 2012-10-06 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * ehelp.el (electric-help-mode): Use help-mode rather than | 3 | * ehelp.el (electric-help-mode): Use help-mode rather than |
| 4 | non-existent mode `help'. (Bug#10917) | 4 | non-existent mode `help'. |
| 5 | (electric-help-map): Use button-buffer-map. (Bug#10917) | ||
| 5 | 6 | ||
| 6 | * textmodes/reftex-vars.el (reftex-create-bibtex-header) | 7 | * textmodes/reftex-vars.el (reftex-create-bibtex-header) |
| 7 | (reftex-create-bibtex-footer): Fix custom types. | 8 | (reftex-create-bibtex-footer): Fix custom types. |
diff --git a/lisp/ehelp.el b/lisp/ehelp.el index 52ac5434ce1..a1bd4d65385 100644 --- a/lisp/ehelp.el +++ b/lisp/ehelp.el | |||
| @@ -61,6 +61,8 @@ | |||
| 61 | 61 | ||
| 62 | (defvar electric-help-map | 62 | (defvar electric-help-map |
| 63 | (let ((map (make-keymap))) | 63 | (let ((map (make-keymap))) |
| 64 | ;; FIXME fragile. Should derive from help-mode-map in a smarter way. | ||
| 65 | (set-keymap-parent map button-buffer-map) | ||
| 64 | ;; allow all non-self-inserting keys - search, scroll, etc, but | 66 | ;; allow all non-self-inserting keys - search, scroll, etc, but |
| 65 | ;; let M-x and C-x exit ehelp mode and retain buffer: | 67 | ;; let M-x and C-x exit ehelp mode and retain buffer: |
| 66 | (suppress-keymap map) | 68 | (suppress-keymap map) |