all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <kevin.rodgers@ihs.com>
Subject: Re: Changing open file buffer handling
Date: Wed, 05 Mar 2003 12:43:36 -0700	[thread overview]
Message-ID: <3E665368.3000706@ihs.com> (raw)
In-Reply-To: mailman.2808.1046888898.21513.help-gnu-emacs@gnu.org

Jeffery B. Rancier wrote:

> Should that be
> 
> (defun dired-find-alternate-file 
>   "In dired, visit this file or directory instead of dired buffer."
>   (interactive)
>        (find-alternate-file (dired-get-filename)))

Your point being that there's no function argument to map a prefix argument to.

But you still have to provide an (empty) argument list:

(defun dired-find-alternate-file ()
  "In dired, visit this file or directory instead of dired buffer."
  (interactive)
  (find-alternate-file (dired-get-filename)))


-- 
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;">Kevin Rodgers</a>

  parent reply	other threads:[~2003-03-05 19:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-05 11:15 Changing "open file" buffer handling Niclas Blomqvist
2003-03-05 15:48 ` Jeffery B. Rancier
2003-03-05 16:34 ` Changing open file " Ehud Karni
2003-03-05 18:28   ` Jeffery B. Rancier
2003-03-05 20:16     ` Ehud Karni
     [not found]   ` <mailman.2808.1046888898.21513.help-gnu-emacs@gnu.org>
2003-03-05 19:43     ` Kevin Rodgers [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-03-05 16:31 Changing "open file" " Ed Rubinsky

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=3E665368.3000706@ihs.com \
    --to=kevin.rodgers@ihs.com \
    /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.