]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove some compat code from ispell.el
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 18 Aug 2020 09:57:39 +0000 (11:57 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 18 Aug 2020 09:57:39 +0000 (11:57 +0200)
* lisp/textmodes/ispell.el (ispell-check-version): Remove check
for temporary-file-directory, which is always defined.

lisp/textmodes/ispell.el

index ffcdb9bd1631e36ceef377a456b96e98ab849d3f..f5af392f94b0d24e5a0e77b5a2c48ed21cc8dd45 100644 (file)
@@ -673,9 +673,7 @@ Otherwise returns the library directory name, if that is defined."
   ;; all versions, since versions earlier than 3.0.09 didn't identify
   ;; themselves on startup.
   (interactive "p")
-  (let ((default-directory (or (and (boundp 'temporary-file-directory)
-                                   temporary-file-directory)
-                              default-directory))
+  (let ((default-directory (or temporary-file-directory default-directory))
        (get-config-var
         (lambda (var)
           (when (re-search-forward