emacs-devel
[Top][All Lists]
Advanced

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

Re: 23.0.60; Feature request: eval-defun on defcustom :initialize / :set


From: Reiner Steib
Subject: Re: 23.0.60; Feature request: eval-defun on defcustom :initialize / :set
Date: Fri, 04 Apr 2008 17:33:25 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.2.50 (gnu/linux)

On Fri, Apr 04 2008, Sam Steingold wrote:

> Reiner Steib wrote:
> |
> | I think `eval-defun' (C-M-x) on a defcustom which has should evaluate
> | the :initialize or :set function.
[...]
>
> it is not obvious that this is correct.
> defcustom is similar to defvar which does not set the the variable if it
> is already defined.

`eval-defun' _does_ set the variable for both, defvar and defcustom.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




reply via email to

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