summaryrefslogtreecommitdiff
path: root/lisp/wid-edit.el
diff options
context:
space:
mode:
authorJason Rumney <jasonr@gnu.org>2008-02-09 22:48:06 +0000
committerJason Rumney <jasonr@gnu.org>2008-02-09 22:48:06 +0000
commit2b786e078b142a057c305b629ba0986c94c1830a (patch)
tree9ef6d8bded656cfd809bf190c679ad24e9ba785a /lisp/wid-edit.el
parent0bd4f3175d3d2e0d6ef892900688dcd0ab2166b3 (diff)
downloademacs-2b786e078b142a057c305b629ba0986c94c1830a.tar.gz
* button.el (button-map):
* wid-edit.el (widget-keymap): Avoid line-end confusion in autoloads.
Diffstat (limited to 'lisp/wid-edit.el')
-rw-r--r--lisp/wid-edit.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el
index 205f70d32ef..26c77e1a172 100644
--- a/lisp/wid-edit.el
+++ b/lisp/wid-edit.el
@@ -874,7 +874,9 @@ button end points."
(define-key map [backtab] 'widget-backward)
(define-key map [down-mouse-2] 'widget-button-click)
(define-key map [down-mouse-1] 'widget-button-click)
- (define-key map "\C-m" 'widget-button-press)
+ ;; The following definition needs to avoid using escape sequences that
+ ;; might get converted to ^M when building loaddefs.el
+ (define-key map [(control ?m)] 'widget-button-press)
map)
"Keymap containing useful binding for buffers containing widgets.
Recommended as a parent keymap for modes using widgets.")