diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2022-11-20 12:59:39 +0100 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2022-11-20 12:59:39 +0100 |
commit | 16318bfb518aa7bc06e502e6fad7e53ec91067f9 (patch) | |
tree | e27122c0a061762bc483ed245ca62ac8d957f881 /lisp/subr.el | |
parent | 6082ab9697fa8c18e9049d24840d07efe6f95625 (diff) | |
download | emacs-16318bfb518aa7bc06e502e6fad7e53ec91067f9.tar.gz emacs-16318bfb518aa7bc06e502e6fad7e53ec91067f9.tar.bz2 emacs-16318bfb518aa7bc06e502e6fad7e53ec91067f9.zip |
; Fix typos
Diffstat (limited to 'lisp/subr.el')
-rw-r--r-- | lisp/subr.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index a42b61d9b61..261ec512d89 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -2584,7 +2584,7 @@ Uses the `derived-mode-parent' property of the symbol to trace backwards." (defun major-mode-restore (&optional avoided-modes) "Restore major mode earlier suspended with `major-mode-suspend'. If there was no earlier suspended major mode, then fallback to `normal-mode', -tho trying to avoid AVOIDED-MODES." +though trying to avoid AVOIDED-MODES." (if major-mode--suspended (funcall (prog1 major-mode--suspended (kill-local-variable 'major-mode--suspended))) |