help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Error: Setting the shell in sh-mode via a local variable does not wo


From: Johannes Kastl
Subject: Re: Error: Setting the shell in sh-mode via a local variable does not work
Date: Tue, 29 Dec 2015 19:33:21 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39

Dear Emanuel,

thanks for your answer.

Am 29.12.15 schrieb Emanuel Berg:
> Johannes Kastl <mail@ojkastl.de> writes:
> 
>> I have a file called 'whatever.spec.in', that
>> basically is a rpm spec file. (Technically, the spec
>> file is generated from this file). So, I'd like to
>> have the nice rpm sh-mode, that my emacs uses for
>> files called 'whatever.spec'.
> 
> I know two ways of doing that.

Sorry if my question was rather long, but you are answering the part
that I already had a solution for. Adding an entry to .emacs to add a
hook so sh-mode works.

But my main question was, why the local variable "sh-shell: rpm" set
in a file does not work...

Johannes

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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