summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/timer.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-04-10 16:09:58 +0300
committerEli Zaretskii <eliz@gnu.org>2023-04-10 16:09:58 +0300
commit338b3718b6cf14ef13b9390928e2b13b5d4f1797 (patch)
tree5885eeaf681d201a57f95b14984eb04b2824e3fd /lisp/emacs-lisp/timer.el
parentb4afee03193575c3812c6f9704cd08d0dc852e5a (diff)
downloademacs-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