all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bob Halley <halley@play-bow.org>
Cc: emacs-devel@gnu.org
Subject: find-alternate-file broken in files.el 1.633
Date: 10 Feb 2003 23:25:10 -0800	[thread overview]
Message-ID: <m3n0l3e0tl.fsf@woof.play-bow.org> (raw)

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

                 reply	other threads:[~2003-02-11  7:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3n0l3e0tl.fsf@woof.play-bow.org \
    --to=halley@play-bow.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.