|
From: | Andreas Roehler |
Subject: | bug#5304: Subject: 23.1.91; comment-start in fundamental-mode |
Date: | Wed, 06 Jan 2010 10:03:27 +0100 |
User-agent: | Thunderbird 2.0.0.19 (X11/20081227) |
Stefan Monnier wrote: >> (setq comment-start "abc") > > If you want to set it buffer-locally, then set it buffer-locally: > > (set (make-local-variable 'comment-start) "abc") > > Same goes for most other variables. > > > Stefan > Stumbled over the issue from my line-or-region commenting tool - with prefix `ar-' now BTW at https://code.launchpad.net/s-x-emacs-werkstatt/ lisp-mode.el contains this (make-local-variable 'comment-start) (setq comment-start ";") Think that's the right place: it's more straight IMHO let modes introduce this var. Maybe just delete it from c-sources? Unless I'm missing something... :-) Thanks Andreas
[Prev in Thread] | Current Thread | [Next in Thread] |