emacs-devel
[Top][All Lists]
Advanced

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

Re: Is comment-column more buffer local than comment-start?


From: Stefan Monnier
Subject: Re: Is comment-column more buffer local than comment-start?
Date: Tue, 30 Dec 2008 15:05:47 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> Looking in newcomments.el I see
>   (make-variable-buffer-local 'comment-column)
> but nothing like that for comment-start etc. I beats my why it is this
> way. (Or is it perhaps because major mode authors should know what to
> do with comment-start?)

IIRC it's for hysterical raisins.
If you ask me, it should be the other way around: comment-column should
not be "make-variable-buffer-local" whereas comment-start should.
But it doesn't matter that much.  Just always use either `setq-default'
or (set (make-loval-variable 'foo) bar) on those vars to be clear.


        Stefan




reply via email to

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