From 0334ac671c228bc967cff6a37c335f04491dd0e7 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 14 Feb 2021 16:55:37 +0100 Subject: [PATCH] Also mention `M-o M-o' removal * lisp/loadup.el (facemenu-keymap-restore): Also restore `M-o M-o'. --- etc/NEWS | 5 ++++- lisp/loadup.el | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index 22c320bfa31..c58587f12b1 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -2083,11 +2083,14 @@ first). * Incompatible Editing Changes in Emacs 28.1 -** The 'M-o' ('facemanu-keymap') global binding has been removed. +** The 'M-o' ('facemenu-keymap') global binding has been removed. ** 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. +** The 'M-o M-o global binding have been removed. +Use 'M-x font-lock-fontify-block' instead. + ** In 'f90-mode', the backslash character ('\') no longer escapes. For about a decade, the backslash character has no longer had a special escape syntax in Fortran F90. To get the old behaviour back, diff --git a/lisp/loadup.el b/lisp/loadup.el index c91c00a1075..d60aa2ead2a 100644 --- a/lisp/loadup.el +++ b/lisp/loadup.el @@ -496,7 +496,8 @@ lost after dumping"))) (define-key global-map [C-down-mouse-2] 'facemenu-menu) (define-key global-map "\M-o" 'facemenu-keymap) (define-key facemenu-keymap "\eS" 'center-paragraph) - (define-key facemenu-keymap "\es" 'center-line)) + (define-key facemenu-keymap "\es" 'center-line) + (define-key facemenu-keymap "\M-o" 'font-lock-fontify-block)) (if dump-mode -- 2.39.2