[Top][All Lists]

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

elisp: apply variable or function

From: Zhu, Shenli
Subject: elisp: apply variable or function
Date: Sun, 11 Apr 2010 14:13:07 +0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20100227 Thunderbird/3.0.3

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)?


reply via email to

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