diff options
author | Jason Rumney <jasonr@gnu.org> | 2008-02-09 22:48:06 +0000 |
---|---|---|
committer | Jason Rumney <jasonr@gnu.org> | 2008-02-09 22:48:06 +0000 |
commit | 2b786e078b142a057c305b629ba0986c94c1830a (patch) | |
tree | 9ef6d8bded656cfd809bf190c679ad24e9ba785a /lisp/button.el | |
parent | 0bd4f3175d3d2e0d6ef892900688dcd0ab2166b3 (diff) | |
download | emacs-2b786e078b142a057c305b629ba0986c94c1830a.tar.gz |
* button.el (button-map):
* wid-edit.el (widget-keymap): Avoid line-end confusion in autoloads.
Diffstat (limited to 'lisp/button.el')
-rw-r--r-- | lisp/button.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/button.el b/lisp/button.el index 0b45f2cec41..df954871985 100644 --- a/lisp/button.el +++ b/lisp/button.el @@ -64,7 +64,9 @@ ;;;###autoload (defvar button-map (let ((map (make-sparse-keymap))) - (define-key map "\r" 'push-button) + ;; The following definition needs to avoid using escape sequences that + ;; might get converted to ^M when building loaddefs.el + (define-key map [(control ?m)] 'push-button) (define-key map [mouse-2] 'push-button) map) "Keymap used by buttons.") |