mike.kupfer(a)xemacs.org writes:
>>>>> "MikeS" == Michael Sperber
<sperber(a)deinprogramm.de> writes:
MikeS> Either way a piece of user convenience goes out the window.
MikeS> (Either it fails to properly update and reuse existing Dired
MikeS> buffers, or you get the error described.) Suggestions welcome.
Could the truename be saved as a property of the buffer when dired first
visits the directory?
It's probably easier to just fail more gracefully. Could you try the
attached patch?
--
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla
Index: dired.el
===================================================================
RCS file: /cvsroot/elisp-code/elisp-code/dired/dired.el,v
retrieving revision 1.77
diff -u -r1.77 dired.el
--- dired.el 13 Jan 2008 14:50:05 -0000 1.77
+++ dired.el 5 Mar 2008 08:49:58 -0000
@@ -1816,7 +1816,9 @@
(if (and (eq major-mode mode)
(equal (if (or (not (boundp 'find-file-compare-truenames))
find-file-compare-truenames)
- (dired-directory-truename dired-directory)
+ (condition-case nil
+ (dired-directory-truename dired-directory)
+ (error nil))
dired-directory)
search-directory))
(setq found (car blist)
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta