diff options
author | Alex Kost <alezost@gmail.com> | 2016-04-11 10:48:22 +0300 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2016-04-23 02:20:25 +0200 |
commit | 068b05787d28863c4f5dfab4d01284574ea78f26 (patch) | |
tree | 726bf4198e52514a181be97f96f592329bd5d007 | |
parent | bbb407ea7f44da7cc05a2be875afedade8697357 (diff) | |
download | geiser-068b05787d28863c4f5dfab4d01284574ea78f26.tar.gz geiser-068b05787d28863c4f5dfab4d01284574ea78f26.tar.bz2 |
Initialize 'geiser-doc-mode-map' inside defvar
-rw-r--r-- | elisp/geiser-doc.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/elisp/geiser-doc.el b/elisp/geiser-doc.el index 52f9c26..343534c 100644 --- a/elisp/geiser-doc.el +++ b/elisp/geiser-doc.el @@ -279,12 +279,12 @@ help (e.g. browse an HTML page) implementing this method.") (with--geiser-implementation impl (geiser-edit-symbol-at-point)))) -(defvar geiser-doc-mode-map nil) -(setq geiser-doc-mode-map - (let ((map (make-sparse-keymap))) - (suppress-keymap map) - (set-keymap-parent map button-buffer-map) - map)) +(defvar geiser-doc-mode-map + (let ((map (make-sparse-keymap))) + (suppress-keymap map) + (set-keymap-parent map button-buffer-map) + map) + "Keymap for `geiser-doc-mode'.") (defun geiser-doc-switch-to-repl () (interactive) |