[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ispell file-error "Setting current directory"

From: Kevin Rodgers
Subject: Re: ispell file-error "Setting current directory"
Date: Mon, 06 Dec 2004 10:06:32 -0700
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

Dan Jacobson wrote:
"K" == Kevin Rodgers <address@hidden> writes:

K> please report what these commands display:

I would but Stallman emailed me this patch meaning it's probably fixed
now. Maybe next time I should forward these pacthes to the list, who
are in much better position to test them than I, and who should know
that a fix has already been found.

*** ispell.el   01 Nov 2004 13:20:28 -0500      1.149
--- ispell.el   23 Nov 2004 17:04:09 -0500      
*** 769,774 ****
--- 769,776 ----
        (if buf (kill-buffer buf)))
        (set-buffer (get-buffer-create " *ispell-tmp*"))
+       (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.

That's not a fix, it's a workaround.  The bug that sets default-directory
to something other than a directory still exists.

Kevin Rodgers

reply via email to

[Prev in Thread] Current Thread [Next in Thread]