emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why is not end-of-defun-function buffer local?


From: Stefan Monnier
Subject: Re: Why is not end-of-defun-function buffer local?
Date: Fri, 07 Dec 2007 21:18:40 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

> It surprises me that beginning/end-of-defun-function are not always
> buffer local.

Why force them to be buffer-local?  When you need to set them in
a buffer, just do

  (set (make-local-variable 'end-of-defun-function) 'foo)

If you think that's too long, then you may want to request a new
`setq-local' macro.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]