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

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

Re: defun with find-file does not run from Gnus buffers


From: Johan Bockgård
Subject: Re: defun with find-file does not run from Gnus buffers
Date: Thu, 24 Jun 2004 16:22:35 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.2 (usg-unix-v)

Albert Reiner <address@hidden> writes:

> I wanted to have a shortcut for opening a specific file, so I wrote
> the following function:
>
>     (defun willehalm-note ()
>        (interactive "*")
                       ^
C-h f interactive RET

   [...]
   In addition, if the string begins with `*' then an error is
   signaled if the buffer is read-only. This happens before reading
   any arguments.

-- 
Johan Bockgård


reply via email to

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