(advertised-widget-backward): New alias.
(widget-keymap): Use advertised-widget-backward for S-TAB.
This commit is contained in:
parent
02c88f477e
commit
cd8990c1d7
1 changed files with 4 additions and 1 deletions
|
|
@ -849,12 +849,15 @@ button end points."
|
||||||
|
|
||||||
;;; Keymap and Commands.
|
;;; Keymap and Commands.
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
|
(defalias 'advertised-widget-backward 'widget-backward)
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defvar widget-keymap
|
(defvar widget-keymap
|
||||||
(let ((map (make-sparse-keymap)))
|
(let ((map (make-sparse-keymap)))
|
||||||
(define-key map "\t" 'widget-forward)
|
(define-key map "\t" 'widget-forward)
|
||||||
(define-key map "\e\t" 'widget-backward)
|
(define-key map "\e\t" 'widget-backward)
|
||||||
(define-key map [(shift tab)] 'widget-backward)
|
(define-key map [(shift tab)] 'advertised-widget-backward)
|
||||||
(define-key map [backtab] 'widget-backward)
|
(define-key map [backtab] 'widget-backward)
|
||||||
(define-key map [down-mouse-2] 'widget-button-click)
|
(define-key map [down-mouse-2] 'widget-button-click)
|
||||||
(define-key map "\C-m" 'widget-button-press)
|
(define-key map "\C-m" 'widget-button-press)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue