[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
comment-line-break-function is not buffer-local
From: |
Juanma Barranquero |
Subject: |
comment-line-break-function is not buffer-local |
Date: |
Mon, 20 Jun 2005 12:11:40 +0200 |
Doc for comment-line-break-function says:
(defvar comment-line-break-function 'comment-indent-new-line
[...]
Setting this variable automatically makes it local to the current buffer.")
which is not true, and it seems it never was. (It was added at
http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/lisp/simple.el.diff?r1=1.317&r2=1.318),
with the comment but no `make-variable-buffer-local' or equivalent.
What's preferable? Fixing the doc, or adding
`make-variable-buffer-local'? (I'm partial to the first option.)
--
/L/e/k/t/u
- comment-line-break-function is not buffer-local,
Juanma Barranquero <=