mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-27 19:31:38 +00:00
(ispell-check-version): If default-directory is nonexistent, use home dir.
This commit is contained in:
parent
bde94a7f47
commit
0a6d03627f
@ -769,6 +769,8 @@ Otherwise returns the library directory name, if that is defined."
|
||||
(if buf (kill-buffer buf)))
|
||||
(set-buffer (get-buffer-create " *ispell-tmp*"))
|
||||
(erase-buffer)
|
||||
(unless (file-exists-p default-directory)
|
||||
(setq default-directory (expand-file-name "~/")))
|
||||
(setq status (call-process
|
||||
ispell-program-name nil t nil
|
||||
;; aspell doesn't accept the -vv switch.
|
||||
|
Loading…
Reference in New Issue
Block a user