[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: add-hook
From: |
Miles Bader |
Subject: |
Re: add-hook |
Date: |
10 Nov 2003 14:07:12 +0900 |
Richard Stallman <address@hidden> writes:
> ;; Detect the case where make-local-variable was used on a hook
> ;; and do what we used to do.
> (unless (and (consp (symbol-value hook)) (memq t (symbol-value hook)))
> (setq local t)))
>
> That is very confusing, and contradicts what the comment says.
> This needs to be cleaned up somehow.
Call me insane, but wouldn't `local-variable-p' be a nice way to detect
this case...?
-Miles
--
o The existentialist, not having a pillow, goes everywhere with the book by
Sullivan, _I am going to spit on your graves_.
- add-hook, Richard Stallman, 2003/11/09
- Re: add-hook,
Miles Bader <=
- Re: add-hook, Richard Stallman, 2003/11/11