[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: defvar interactively, user-variable-p
From: |
Uwe Brauer |
Subject: |
Re: defvar interactively, user-variable-p |
Date: |
Sun, 18 Oct 2015 15:13:03 +0300 |
User-agent: |
Gnus/5.13001 (Ma Gnus v0.10) Emacs/25.0.50 (gnu/linux) |
> Uwe Brauer <address@hidden> writes:
> This function is obsolete since 24.3;
> use ‘custom-variable-p’ instead.
> Return non-nil if VARIABLE is a customizable variable.
> A customizable variable is either (i) a variable whose property
> list contains a non-nil ‘standard-value’ or ‘custom-autoload’
> property, or (ii) an alias for another customizable variable.
> [back]
> as the function DOC string, and in the manual
> -- Function: custom-variable-p arg
> This function returns non-‘nil’ if ARG is a customizable variable.
> A customizable variable is either a variable that has a
> ‘standard-value’ or ‘custom-autoload’ property (usually meaning it
> was declared with ‘defcustom’), or an alias for another
> customizable variable.
> while user-variable-p (understandably) is no longer documented.
> So just what manual is it that you are consulting?
Well I took the first entry google offered.
Great, I just looked into the http address:
https://ftp.gnu.org/old-gnu/Manuals/elisp-manual-21-2.8/html_node/elisp_143.html
It says *old* sigh! Sorry.
However I never really paid attention to defcustom,
so the nifty easy to use feature "*"
as in
(defvar latexdiff-perl nil
"*Whether to use latexdiff based on perl or not, default is NIL.")
Is gone?
But
https://www.gnu.org/software/emacs/manual/html_node/eintr/defvar-and-asterisk.html#defvar-and-asterisk
Suggests that I still can use it. But it does not work for me,