mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-06 11:55:48 +00:00
(set-language-environment): Run
exit-language-environment-hook before calling `exit-function' which is specified for the language environment.
This commit is contained in:
parent
c364e61866
commit
e63645c263
@ -686,8 +686,8 @@ and sometimes other things."
|
||||
(if current-language-environment
|
||||
(let ((func (get-language-info current-language-environment
|
||||
'exit-function)))
|
||||
(if (fboundp func) (funcall func))
|
||||
(run-hooks 'exit-language-environment-hook)))
|
||||
(run-hooks 'exit-language-environment-hook)
|
||||
(if (fboundp func) (funcall func))))
|
||||
(setq current-language-environment language-name)
|
||||
(funcall (get-language-info language-name 'setup-function))
|
||||
(run-hooks 'set-language-environment-hook)
|
||||
|
Loading…
Reference in New Issue
Block a user