HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bde94a7
)
(ispell-check-version): If default-directory is nonexistent, use home dir.
author
Richard M. Stallman
<rms@gnu.org>
Thu, 25 Nov 2004 03:06:16 +0000
(
03:06
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 25 Nov 2004 03:06:16 +0000
(
03:06
+0000)
lisp/textmodes/ispell.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/textmodes/ispell.el
b/lisp/textmodes/ispell.el
index
d221d39
..
f6a1c1d
100644
(file)
--- a/
lisp/textmodes/ispell.el
+++ b/
lisp/textmodes/ispell.el
@@
-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.