all messages for Emacs-related lists mirrored at yhetil.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.