Commit cb24638e authored by Kai Großjohann's avatar Kai Großjohann
Browse files

(Man-getpage-in-background): Only change

default-directory if necessary.
parent a0217c4b
2003-03-07 Kai Gro,A_(Bjohann <kai.grossjohann@uni-duisburg.de>
* man.el (Man-getpage-in-background): Only change
default-directory if necessary.
2003-03-07 Andreas Schwab <schwab@suse.de>
* info.el (Info-following-node-name): Skip trailing period.
......
......@@ -593,7 +593,12 @@ all sections related to a subject, put something appropriate into the
(if default-enable-multibyte-characters
locale-coding-system 'raw-text-unix))
;; Avoid possible error by using a directory that always exists.
(default-directory "/"))
(default-directory
(if (and (file-directory-p default-directory)
(not (find-file-name-handler default-directory
'file-directory-p)))
default-directory
"/")))
;; Prevent any attempt to use display terminal fanciness.
(setenv "TERM" "dumb")
;; In Debian Woody, at least, we get overlong lines under X
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment