all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* elisp: apply variable or function
@ 2010-04-11  6:13 Zhu, Shenli
  2010-04-11  6:23 ` Ian Eure
  0 siblings, 1 reply; 4+ messages in thread
From: Zhu, Shenli @ 2010-04-11  6:13 UTC (permalink / raw)
  To: help-gnu-emacs

Dear all,

I am tracing the code in gud.el(grand unified debugger) and find code 
snippet below hard to understand:

(defvar gud-marker-filter nil)
(put 'gud-marker-filter 'permanent-local t)
... ...
(defun gud-marker-filter (&rest args)
   (apply gud-marker-filter args))

The local permanent variable and function have the same name 
"gud-marker-filter". But, why elisp engine *apply* variable 
"gud-marker-filter" but not function "gud-marker-filter"(C-h f tell me 
"apply function &rest arguments)?

Regards,
Shenli




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-04-11  7:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-11  6:13 elisp: apply variable or function Zhu, Shenli
2010-04-11  6:23 ` Ian Eure
2010-04-11  7:05   ` Zhu, Shenli
2010-04-11  7:12     ` Ian Eure

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.