aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2004-05-01 03:50:24 +0000
committerJuri Linkov2004-05-01 03:50:24 +0000
commit486add9d38b9862445be50158b324f2cc45672c5 (patch)
tree83c481416a6c5e9a48d71e24522b36cd418fc70e
parent52f134eea75b45425febcb0f95d51f0a5e12ebb2 (diff)
downloademacs-486add9d38b9862445be50158b324f2cc45672c5.tar.gz
emacs-486add9d38b9862445be50158b324f2cc45672c5.zip
(propertized-buffer-identification):
Replace `(:weight bold)' by `Buffer-menu-buffer-face'. Add C-M-arrow keys for consistency.
-rw-r--r--lisp/bindings.el9
1 files changed, 8 insertions, 1 deletions
diff --git a/lisp/bindings.el b/lisp/bindings.el
index 1f86f3b6fcb..e1a2739d759 100644
--- a/lisp/bindings.el
+++ b/lisp/bindings.el
@@ -460,7 +460,7 @@ Menu of mode operations in the mode line.")
460FMT is a format specifier such as \"%12b\". This function adds 460FMT is a format specifier such as \"%12b\". This function adds
461text properties for face, help-echo, and local-map to it." 461text properties for face, help-echo, and local-map to it."
462 (list (propertize fmt 462 (list (propertize fmt
463 'face '(:weight bold) 463 'face 'Buffer-menu-buffer-face
464 'help-echo 464 'help-echo
465 (purecopy "mouse-1: previous buffer, mouse-3: next buffer") 465 (purecopy "mouse-1: previous buffer, mouse-3: next buffer")
466 'local-map mode-line-buffer-identification-keymap))) 466 'local-map mode-line-buffer-identification-keymap)))
@@ -945,6 +945,13 @@ language you are using."
945;; This is "move to the clipboard", or as close as we come. 945;; This is "move to the clipboard", or as close as we come.
946(global-set-key [S-delete] 'kill-region) 946(global-set-key [S-delete] 'kill-region)
947 947
948(global-set-key [C-M-left] 'backward-sexp)
949(global-set-key [C-M-right] 'forward-sexp)
950(global-set-key [C-M-up] 'backward-up-list)
951(global-set-key [C-M-down] 'down-list)
952(global-set-key [C-M-home] 'beginning-of-defun)
953(global-set-key [C-M-end] 'end-of-defun)
954
948(define-key esc-map "\C-f" 'forward-sexp) 955(define-key esc-map "\C-f" 'forward-sexp)
949(define-key esc-map "\C-b" 'backward-sexp) 956(define-key esc-map "\C-b" 'backward-sexp)
950(define-key esc-map "\C-u" 'backward-up-list) 957(define-key esc-map "\C-u" 'backward-up-list)