Not sure this is a bug or not, but it seems not right to me. However,
I rarely play with hooks in this way, so perhaps I'm totally wrong.
Create a new buffer *junk*. In that buffer, C-h v post-command-hook.
The value is nil.
In *scratch* create the dummy function:
(defun dummy ())
Now in *junk* do M-: and eval
(add-local-hook 'post-command-hook 'dummy t)
What I see is that post-command-hook now has the value
(t dummy)
That doesn't seem right. Shouldn't it be just '(dummy)? And the
value of t wouldn't work very well since it's not a function.
Without append, add-local-hook just creates (dummy), which looks right
to me.
Is this right?
Ray
P.S. This is xemacs 21.5.29 on solaris.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta