summaryrefslogtreecommitdiff
path: root/elisp
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2016-04-11 10:48:22 +0300
committerJose Antonio Ortega Ruiz <jao@gnu.org>2016-04-23 02:20:25 +0200
commit29ed32892b05ad7886c49e5f4a22f07779ddc196 (patch)
tree14c59eb0909b7201cc5f9564e4c2f9982200b2d9 /elisp
parent8fb8531b9ad6b29fe027469d615976b19ef32b36 (diff)
downloadgeiser-guile-29ed32892b05ad7886c49e5f4a22f07779ddc196.tar.gz
geiser-guile-29ed32892b05ad7886c49e5f4a22f07779ddc196.tar.bz2
Initialize 'geiser-doc-mode-map' inside defvar
Diffstat (limited to 'elisp')
-rw-r--r--elisp/geiser-doc.el12
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)