unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* find-alternate-file broken in files.el 1.633
@ 2003-02-11  7:25 Bob Halley
  0 siblings, 0 replies; only message in thread
From: Bob Halley @ 2003-02-11  7:25 UTC (permalink / raw)
  Cc: emacs-devel

When I try to use find-alternate-file in the latest CVS (files.el
1.633) I get an error:

call-interactively: Symbol's value as variable is void: dired-directory

This change in 1.633 appears to be the culprit:

   (let ((obuf (current-buffer))
        (ofile buffer-file-name)
        (onum buffer-file-number)
+       (odir dired-directory)
        (otrue buffer-file-truename)
        (oname (buffer-name)))
     (if (get-buffer " **lose**")

I'm not sure how to fix this, since I know little about
dired-directory.  In particular, I don't know if we should just check
if it is bound and set odir to nil if it isn't, or if it is in fact an
error that dired-directory isn't bound and we should fix that instead.

/Bob

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-02-11  7:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-11  7:25 find-alternate-file broken in files.el 1.633 Bob Halley

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).