]> git.eshelyaron.com Git - emacs.git/commitdiff
; * etc/NEWS: Minor improvement to the last change.
authorEli Zaretskii <eliz@gnu.org>
Sat, 20 Mar 2021 10:11:04 +0000 (12:11 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 20 Mar 2021 10:11:04 +0000 (12:11 +0200)
etc/NEWS

index ba93bba290fb8182cd5038cd4f35b454e332f85c..c602166397686bdee45bfd9ed83940c4476987a3 100644 (file)
--- 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'