aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Rumney2008-02-09 22:48:06 +0000
committerJason Rumney2008-02-09 22:48:06 +0000
commit2b786e078b142a057c305b629ba0986c94c1830a (patch)
tree9ef6d8bded656cfd809bf190c679ad24e9ba785a
parent0bd4f3175d3d2e0d6ef892900688dcd0ab2166b3 (diff)
downloademacs-2b786e078b142a057c305b629ba0986c94c1830a.tar.gz
emacs-2b786e078b142a057c305b629ba0986c94c1830a.zip
* button.el (button-map):
* wid-edit.el (widget-keymap): Avoid line-end confusion in autoloads.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/button.el4
-rw-r--r--lisp/wid-edit.el4
3 files changed, 11 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 248cc4e243a..133261eb14d 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12008-02-09 Jason Rumney <jasonr@gnu.org>
2
3 * button.el (button-map):
4 * wid-edit.el (widget-keymap): Avoid line-end confusion in autoloads.
5
12008-02-09 Dan Nicolaescu <dann@ics.uci.edu> 62008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
2 7
3 * epa.el (epa-faces, epa): 8 * epa.el (epa-faces, epa):
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 @@
64;;;###autoload 64;;;###autoload
65(defvar button-map 65(defvar button-map
66 (let ((map (make-sparse-keymap))) 66 (let ((map (make-sparse-keymap)))
67 (define-key map "\r" 'push-button) 67 ;; The following definition needs to avoid using escape sequences that
68 ;; might get converted to ^M when building loaddefs.el
69 (define-key map [(control ?m)] 'push-button)
68 (define-key map [mouse-2] 'push-button) 70 (define-key map [mouse-2] 'push-button)
69 map) 71 map)
70 "Keymap used by buttons.") 72 "Keymap used by buttons.")
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."
874 (define-key map [backtab] 'widget-backward) 874 (define-key map [backtab] 'widget-backward)
875 (define-key map [down-mouse-2] 'widget-button-click) 875 (define-key map [down-mouse-2] 'widget-button-click)
876 (define-key map [down-mouse-1] 'widget-button-click) 876 (define-key map [down-mouse-1] 'widget-button-click)
877 (define-key map "\C-m" 'widget-button-press) 877 ;; The following definition needs to avoid using escape sequences that
878 ;; might get converted to ^M when building loaddefs.el
879 (define-key map [(control ?m)] 'widget-button-press)
878 map) 880 map)
879 "Keymap containing useful binding for buffers containing widgets. 881 "Keymap containing useful binding for buffers containing widgets.
880Recommended as a parent keymap for modes using widgets.") 882Recommended as a parent keymap for modes using widgets.")