Mercurial > emacs
diff lisp/wid-edit.el @ 91704:bd5e4ff73402
* button.el (button-map):
* wid-edit.el (widget-keymap): Avoid line-end confusion in autoloads.
| author | Jason Rumney <jasonr@gnu.org> |
|---|---|
| date | Sat, 09 Feb 2008 22:48:06 +0000 |
| parents | 84e557581b9e |
| children | fc82b6139b36 |
line wrap: on
line diff
--- a/lisp/wid-edit.el Sat Feb 09 21:59:34 2008 +0000 +++ b/lisp/wid-edit.el Sat Feb 09 22:48:06 2008 +0000 @@ -874,7 +874,9 @@ (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.")
