diff options
author | Eli Zaretskii <eliz@gnu.org> | 2023-04-10 16:09:58 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2023-04-10 16:09:58 +0300 |
commit | 338b3718b6cf14ef13b9390928e2b13b5d4f1797 (patch) | |
tree | 5885eeaf681d201a57f95b14984eb04b2824e3fd /lisp/emacs-lisp/timer.el | |
parent | b4afee03193575c3812c6f9704cd08d0dc852e5a (diff) | |
download | emacs-338b3718b6cf14ef13b9390928e2b13b5d4f1797.tar.gz emacs-338b3718b6cf14ef13b9390928e2b13b5d4f1797.tar.bz2 emacs-338b3718b6cf14ef13b9390928e2b13b5d4f1797.zip |
Fix visiting RPM files
We cannot call 'sh-set-shell' inside 'sh-base-mode', since various
settings of 'sh-mode', in particular the syntax table, is not yet
set. Likewise with various hooks: since 'sh-base-mode' is not a
mode any file should be visited with, it makes no sense to set up
stuff like 'hack-local-variables-hook' in 'sh-base-mode'; it
should be set in the descendant modes instead.
* lisp/progmodes/sh-script.el (sh-base-mode): Move the call to
'sh-set-shell' from here...
(sh-mode): ...to here...
(bash-ts-mode): ...with a copy here. (Bug#62748)
Diffstat (limited to 'lisp/emacs-lisp/timer.el')
0 files changed, 0 insertions, 0 deletions