[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10773: set-variable can't change values of user options
From: |
Glenn Morris |
Subject: |
bug#10773: set-variable can't change values of user options |
Date: |
Thu, 09 Feb 2012 13:28:16 -0500 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Juri Linkov wrote:
> Why users are allowed to change the value of `outline-mode-hook',
> but not `outline-minor-mode-hook'?
The former is defined with (defvar ... "*...").
The latter is not defined anywhere, but as define-derived-mode says
about hooks and has been covered several times:
No problems result if this variable is not bound.
`add-hook' automatically binds it. (This is true for all hook variables.)
I would says it's not very useful to pass a hook to set-variable anyway,
since you need to type a lisp expression, and probably should use
an explicit add-hook statement.
- bug#10773: set-variable can't change values of user options, Juri Linkov, 2012/02/09
- bug#10773: set-variable can't change values of user options,
Glenn Morris <=
- bug#10773: set-variable can't change values of user options, Kevin Rodgers, 2012/02/10
- bug#10773: set-variable can't change values of user options, Juri Linkov, 2012/02/10
- bug#10773: set-variable can't change values of user options, Glenn Morris, 2012/02/10
- bug#10773: set-variable can't change values of user options, Glenn Morris, 2012/02/10
- bug#10773: set-variable can't change values of user options, Stefan Monnier, 2012/02/12
- bug#10773: set-variable can't change values of user options, Glenn Morris, 2012/02/12
- bug#10773: set-variable can't change values of user options, Stefan Monnier, 2012/02/12
bug#10773: set-variable can't change values of user options, Juri Linkov, 2012/02/20