]> git.eshelyaron.com Git - emacs.git/commitdiff
(set-language-environment): Use `functionp' to check exit and
authorDave Love <fx@gnu.org>
Sun, 28 Oct 2001 16:07:35 +0000 (16:07 +0000)
committerDave Love <fx@gnu.org>
Sun, 28 Oct 2001 16:07:35 +0000 (16:07 +0000)
setup functions.

lisp/international/mule-cmds.el

index b19fdf1f72835c7e98f9abc9230e118f4fa37085..add848a14982f4214aa1cb06d2bd70d93e7f39c9 100644 (file)
@@ -1426,7 +1426,7 @@ specifies the character set for the major languages of Western Europe."
       (let ((func (get-language-info current-language-environment
                                     'exit-function)))
        (run-hooks 'exit-language-environment-hook)
-       (if (fboundp func) (funcall func))))
+       (if (functionp func) (funcall func))))
   (let ((default-eol-type (coding-system-eol-type
                           default-buffer-file-coding-system)))
     (reset-language-environment)