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

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

function defined in .emacs: so what's the big secret?


From: Dan Jacobson
Subject: function defined in .emacs: so what's the big secret?
Date: 02 Feb 2002 08:24:17 +0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

I do (describe-function (quote switch-to-other-buffer))

switch-to-other-buffer is an interactive Lisp function.
(switch-to-other-buffer)
not documented

OK, but where was this function defined?  Doesn't emacs often tell me
what file I might find it in, etc.?

Oh... it was defined in my .emacs file!  OK, can't the mighty emacs
mention something to that effect, instead of "I'm sorry sir, the
function requested that their number not be listed in the phone book,
you will need a court order if you want to find where in the world you
ingested this function's definition."

P.S. I have
(defun switch-to-other-buffer () (interactive) (switch-to-buffer
                                                (other-buffer)))
but I would like one that ignores dired etc. buffers.
-- 
http://www.geocities.com/jidanni/ Taiwan(04)25854780



reply via email to

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