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

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

bug#418: origin of some functions still a mystery in *Help*


From: jidanni
Subject: bug#418: origin of some functions still a mystery in *Help*
Date: Sun, 15 Jun 2008 21:12:49 +0800

There are still some cases where the *Help* buffer doesn't show what
file a function or variable came from:

I wondered why this *Help*,

  C-M-l (translated from <escape> C-l) runs the command switch-to-other-buffer
    which is an interactive compiled Lisp function.
  It is bound to <kp-insert>, C-M-l.
  (switch-to-other-buffer)

Didn't mention what file it came from.

Well it turns out it was in my .emacs.elc, compiled from .emacs. Which
should be mentioned in *Help*. Here is how it was defined:

(setq term-setup-hook
      (function (lambda ()
      (defun switch-to-other-buffer () (interactive) (switch-to-buffer
                                                      (other-buffer)))
      (global-set-key [(meta control ?l)] `switch-to-other-buffer)...

emacs-version "22.2.1"







reply via email to

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