Commit 2b786e07 authored by Jason Rumney's avatar Jason Rumney
Browse files

* button.el (button-map):

* wid-edit.el (widget-keymap): Avoid line-end confusion in autoloads.
parent 0bd4f317
2008-02-09 Jason Rumney <jasonr@gnu.org>
* button.el (button-map):
* wid-edit.el (widget-keymap): Avoid line-end confusion in autoloads.
2008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
 
* epa.el (epa-faces, epa):
......
......@@ -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.")
......
......@@ -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.")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment