branch: elpa/symbol-overlay
commit 75e59b5d635691648130ab6d6a271eea05a81d62
Author: Steve Purcell <[email protected]>
Commit: Steve Purcell <[email protected]>
Give the minor-mode a keymap, so users can bind M-n/M-p there if they prefer
---
symbol-overlay.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/symbol-overlay.el b/symbol-overlay.el
index 534ae19238..16c2f6ffcd 100644
--- a/symbol-overlay.el
+++ b/symbol-overlay.el
@@ -120,7 +120,7 @@ You can add more colors whatever you like.")
;;;###autoload
(define-minor-mode symbol-overlay-mode
"Minor mode for auto-highlighting symbol at point."
- nil " SO" nil
+ nil " SO" (make-sparse-keymap)
(if symbol-overlay-mode
(progn
(add-hook 'post-command-hook 'symbol-overlay-post-command nil t)