07/09/15 15:57:54
>>614
> どっかまちがってますか?
はい。圧倒的に間違っています。
> Add to the value of hook the function function.
> function is not added if already present.
> function is added (if necessary) at the beginning of the hook list
> unless the optional argument append is non-nil, in which case
> function is added at the end.
>
> The optional fourth argument, local, if non-nil, says to modify
> the hook's buffer-local value rather than its default value.
> This makes the hook buffer-local if needed, and it makes t a member
> of the buffer-local value. That acts as a flag to run the hook
> functions in the default value as well as in the local value.
>
> hook should be a symbol, and function may be any valid function. If
> hook is void, it is first set to nil. If hook's value is a single
> function, it is changed to a list of functions.