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

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

Re: setting non-user variables


From: Emanuel Berg
Subject: Re: setting non-user variables
Date: Wed, 31 May 2017 17:20:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Héctor Lahoz <hectorlahoz@gmail.com> writes:

>> Try
>> 
>>     (set-variable 'mpkg-master-file "file.txt" t)
>> 
>> with t as in MAKE-LOCAL.
>
> What I meant is that I used set-variable
> interactively, as M-x set-variable.
> Without LISP code.

Aha, then do C-u before you do M-x!

>From the help

    (set-variable VARIABLE VALUE &optional MAKE-LOCAL)

    [...]
    
    With a prefix argument, set VARIABLE to VALUE
    buffer-locally.

So

    C-u M-x set-variable RET mpkg-master-file RET file.txt RET

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

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