help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing open file buffer handling


From: Kevin Rodgers
Subject: Re: Changing open file buffer handling
Date: Wed, 05 Mar 2003 12:43:36 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

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>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]