aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2009-09-06 13:23:14 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2009-09-06 13:23:14 +0000
commite3a3e9aab769d5ce7575641410e3f156e445cb3e (patch)
tree7822d9b6cc999411508264dfa66ad52bc216c8ad /lib
parent51856975251c32460037f0f762b3bf357fc92ee5 (diff)
set-span-keymap: only override local map, not replace it.
Diffstat (limited to 'lib')
-rw-r--r--lib/span.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/span.el b/lib/span.el
index 4c83baa0..9dcfe187 100644
--- a/lib/span.el
+++ b/lib/span.el
@@ -189,8 +189,7 @@ Return nil if no such overlay belong to the list."
(defun set-span-keymap (span map)
"Set the keymap of SPAN to MAP."
- (overlay-put span 'keymap map)
- (overlay-put span 'local-map map))
+ (overlay-put span 'keymap map))
;;
;; Generic functions built on low-level concrete ones.