aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2012-07-18 22:17:49 +0800
committerChong Yidong2012-07-18 22:17:49 +0800
commit0fe776a1e40a7ce3c192d7a134c15b3a9ee7fc6e (patch)
treec36410ec4e3ffc392859b6bb54a9c29c77b5fa57
parent4c8ff0fec3bdafa5d4bd3bc67ca7a9edb4be1e8f (diff)
downloademacs-0fe776a1e40a7ce3c192d7a134c15b3a9ee7fc6e.tar.gz
emacs-0fe776a1e40a7ce3c192d7a134c15b3a9ee7fc6e.zip
* lisp/bindings.el: Bind M-= to count-words.
-rw-r--r--etc/NEWS2
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/bindings.el2
3 files changed, 5 insertions, 1 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 3435a839a74..484cfaf2717 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -159,6 +159,8 @@ prompts for a column number.
159** `mouse-avoidance-banish-position' can now be used to customize 159** `mouse-avoidance-banish-position' can now be used to customize
160`mouse-avoidance-mode' further. 160`mouse-avoidance-mode' further.
161 161
162** `M-=' is now bound to `count-words', not `count-words-region'.
163
162** `C-M-f' and `C-M-b' will now move to the path name separator 164** `C-M-f' and `C-M-b' will now move to the path name separator
163character when doing minibuffer filename prompts. 165character when doing minibuffer filename prompts.
164 166
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 92148234226..42e8e9a84fc 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
12012-07-18 Chong Yidong <cyd@gnu.org> 12012-07-18 Chong Yidong <cyd@gnu.org>
2 2
3 * bindings.el: Bind M-= to count-words.
4
3 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238). 5 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4 6
52012-07-18 Masatake YAMATO <yamato@redhat.com> 72012-07-18 Masatake YAMATO <yamato@redhat.com>
diff --git a/lisp/bindings.el b/lisp/bindings.el
index e0555a17b15..655cda235b4 100644
--- a/lisp/bindings.el
+++ b/lisp/bindings.el
@@ -793,7 +793,7 @@ if `inhibit-field-text-motion' is non-nil."
793(define-key ctl-x-map "\C-o" 'delete-blank-lines) 793(define-key ctl-x-map "\C-o" 'delete-blank-lines)
794(define-key esc-map " " 'just-one-space) 794(define-key esc-map " " 'just-one-space)
795(define-key esc-map "z" 'zap-to-char) 795(define-key esc-map "z" 'zap-to-char)
796(define-key esc-map "=" 'count-words-region) 796(define-key esc-map "=" 'count-words)
797(define-key ctl-x-map "=" 'what-cursor-position) 797(define-key ctl-x-map "=" 'what-cursor-position)
798(define-key esc-map ":" 'eval-expression) 798(define-key esc-map ":" 'eval-expression)
799;; Define ESC ESC : like ESC : for people who type ESC ESC out of habit. 799;; Define ESC ESC : like ESC : for people who type ESC ESC out of habit.