diff options
| author | Dave Love | 2001-10-28 16:07:35 +0000 |
|---|---|---|
| committer | Dave Love | 2001-10-28 16:07:35 +0000 |
| commit | 279f7b6bfd61ff011ae06ca0c8aed530d934b218 (patch) | |
| tree | 9dda30523964ac2ee9acb56219a8ef97929d2bc3 | |
| parent | 91edf3728f7649f98a1366340c21b8187f955791 (diff) | |
| download | emacs-279f7b6bfd61ff011ae06ca0c8aed530d934b218.tar.gz emacs-279f7b6bfd61ff011ae06ca0c8aed530d934b218.zip | |
(set-language-environment): Use `functionp' to check exit and
setup functions.
| -rw-r--r-- | lisp/international/mule-cmds.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index b19fdf1f728..add848a1498 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el | |||
| @@ -1426,7 +1426,7 @@ specifies the character set for the major languages of Western Europe." | |||
| 1426 | (let ((func (get-language-info current-language-environment | 1426 | (let ((func (get-language-info current-language-environment |
| 1427 | 'exit-function))) | 1427 | 'exit-function))) |
| 1428 | (run-hooks 'exit-language-environment-hook) | 1428 | (run-hooks 'exit-language-environment-hook) |
| 1429 | (if (fboundp func) (funcall func)))) | 1429 | (if (functionp func) (funcall func)))) |
| 1430 | (let ((default-eol-type (coding-system-eol-type | 1430 | (let ((default-eol-type (coding-system-eol-type |
| 1431 | default-buffer-file-coding-system))) | 1431 | default-buffer-file-coding-system))) |
| 1432 | (reset-language-environment) | 1432 | (reset-language-environment) |