emacs-devel
[Top][All Lists]
Advanced

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

Re: asm-mode patch to allow per-file comment character setting from file


From: David Kastrup
Subject: Re: asm-mode patch to allow per-file comment character setting from file locals
Date: Mon, 12 Jun 2006 15:12:00 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Alastair Houghton <address@hidden> writes:

> On 11 Jun 2006, at 22:20, Stefan Monnier wrote:
>
>> I don't have time to look in detail at the patch, but here are some
>> comments:
>>
>>> +(make-variable-buffer-local 'asm-comment-char)
>>
>> Please don't do that.  USe make-local-variable where necessary
>> instead.
>
> The reason I chose to use make-variable-buffer-local is that I want
> to be able to set it from a file local variables block (either the - 
> *- version at the top, or the version at the bottom of my assembler
> files).

Files set from a file local variables block are made buffer-local,
anyway.  Perhaps reading the documentation will help.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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