summaryrefslogtreecommitdiff
path: root/lisp/bindings.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2012-05-06 16:43:46 +0800
committerChong Yidong <cyd@gnu.org>2012-05-06 16:43:46 +0800
commit3cc99f68ad114947ab5597a4255f5cca25a71d78 (patch)
treea817d7b7440a8e95a39c93e5b9e3e39990ebce82 /lisp/bindings.el
parent6632d361114f2d104b689e2213dce1eb3474de0a (diff)
downloademacs-3cc99f68ad114947ab5597a4255f5cca25a71d78.tar.gz
Some cleanups for the buffer menu and electric buffer menu.
* lisp/buff-menu.el (list-buffers): Move C-x C-b binding from buff-menu.el to bindings.el. * lisp/ebuff-menu.el (Electric-buffer-menu-undefined): Use the :advertised-binding feature.
Diffstat (limited to 'lisp/bindings.el')
-rw-r--r--lisp/bindings.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/bindings.el b/lisp/bindings.el
index f04ee723220..69d96ab6889 100644
--- a/lisp/bindings.el
+++ b/lisp/bindings.el
@@ -40,7 +40,7 @@ corresponding to the mode line clicked."
(interactive "e")
(save-selected-window
(select-window (posn-window (event-start event)))
- (toggle-read-only)
+ (with-no-warnings (toggle-read-only))
(force-mode-line-update)))
@@ -1190,6 +1190,7 @@ if `inhibit-field-text-motion' is non-nil."
;; (define-key ctl-x-map "\-" 'inverse-add-global-abbrev)
(define-key esc-map "'" 'abbrev-prefix-mark)
(define-key ctl-x-map "'" 'expand-abbrev)
+(define-key ctl-x-map "\C-b" 'list-buffers)
(define-key ctl-x-map "z" 'repeat)