emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master b4a125e: ; * etc/NEWS: Minor improvement to the last change.


From: Eli Zaretskii
Subject: master b4a125e: ; * etc/NEWS: Minor improvement to the last change.
Date: Sat, 20 Mar 2021 06:11:55 -0400 (EDT)

branch: master
commit b4a125e5ad1de3eb770dff12017f1e0658c4c6a2
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; * etc/NEWS: Minor improvement to the last change.
---
 etc/NEWS | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/etc/NEWS b/etc/NEWS
index ba93bba..c602166 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2275,7 +2275,12 @@ having those two commands on the 'M-o' keymap; see the 
next section.
 
 ** The 'M-o M-s' and 'M-o M-S' global bindings have been removed.
 Use 'M-x center-line' and 'M-x center-paragraph' instead.  See the
-previous section for how to get back the old bindings.
+previous section for how to get back the old bindings.  Alternatively,
+if you only want these two commands to have global bindings they had
+before, you can add the following to your init file:
+
+  (define-key global-map "\M-o\M-s" 'center-line)
+  (define-key global-map "\M-o\M-S" 'center-paragraph)
 
 ** The 'M-o M-o' global binding has been removed.
 Use 'M-x font-lock-fontify-block' instead, or the new 'C-x x f'



reply via email to

[Prev in Thread] Current Thread [Next in Thread]