diff options
| author | Glenn Morris | 2021-10-12 07:50:19 -0700 |
|---|---|---|
| committer | Glenn Morris | 2021-10-12 07:50:19 -0700 |
| commit | d4a033696d3389bd65d751050f98de12236e3101 (patch) | |
| tree | ed63ced5285b697c57c80f66b763f2c7a295eed8 /lisp/mh-e | |
| parent | b36cbf2fefe6d9c154e615b660a9166abdca1f51 (diff) | |
| parent | 66b8dfd0602c2175a0296ce6a844d77c94813429 (diff) | |
| download | emacs-d4a033696d3389bd65d751050f98de12236e3101.tar.gz emacs-d4a033696d3389bd65d751050f98de12236e3101.zip | |
Merge from origin/emacs-28
66b8dfd060 (origin/emacs-28) ; Fix last change related to shorthands
3832b983cf In Fdelete_other_windows_internal fix new total window siz...
5deb0ec14f * lisp/mh-e/mh-show.el (mh-junk-whitelist): Custom obsoles...
cf1409db71 Don't apply shorthands to punctuation-only symbols (bug#51...
b3d0f53b29 * lisp/progmodes/python.el: Bump package version to 0.28.
Diffstat (limited to 'lisp/mh-e')
| -rw-r--r-- | lisp/mh-e/mh-junk.el | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lisp/mh-e/mh-junk.el b/lisp/mh-e/mh-junk.el index 467667f5afd..2097bcbe1e8 100644 --- a/lisp/mh-e/mh-junk.el +++ b/lisp/mh-e/mh-junk.el | |||
| @@ -110,8 +110,15 @@ message(s) as specified by the option `mh-junk-disposition'." | |||
| 110 | ;;;###mh-autoload | 110 | ;;;###mh-autoload |
| 111 | (defun mh-junk-whitelist (range) | 111 | (defun mh-junk-whitelist (range) |
| 112 | "Old name for `mh-junk-allowlist'; use \\[mh-junk-allowlist] instead." | 112 | "Old name for `mh-junk-allowlist'; use \\[mh-junk-allowlist] instead." |
| 113 | (declare (obsolete mh-junk-allowlist "28.1")) | ||
| 114 | (interactive (list (mh-interactive-range "Allowlist"))) | 113 | (interactive (list (mh-interactive-range "Allowlist"))) |
| 114 | ;; We do our own message here instead of using "declare obsolete" | ||
| 115 | ;; in order to talk about keys instead of function names. Also, it | ||
| 116 | ;; lets us bind "J w" to this without the Emacs 29 compiler complaining. | ||
| 117 | (when (not (get 'mh-junk-whitelist 'command-execute-obsolete-warned)) | ||
| 118 | (message "%s is an obsolete key (as of 28.1); use %s instead" | ||
| 119 | (substitute-command-keys "\\[mh-junk-whitelist]") | ||
| 120 | (substitute-command-keys "\\[mh-junk-allowlist]")) | ||
| 121 | (put 'mh-junk-whitelist 'command-execute-obsolete-warned t)) | ||
| 115 | (mh-junk-allowlist range)) | 122 | (mh-junk-allowlist range)) |
| 116 | 123 | ||
| 117 | ;;;###mh-autoload | 124 | ;;;###mh-autoload |