all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <moasen@zoho.com>
To: help-gnu-emacs@gnu.org
Subject: Re: setting non-user variables
Date: Wed, 31 May 2017 17:20:20 +0200	[thread overview]
Message-ID: <8737blaw97.fsf@debian.uxu> (raw)
In-Reply-To: 20170531145825.GA11439@workstation

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	other threads:[~2017-05-31 15:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-31 14:26 setting non-user variables Héctor Lahoz
2017-05-31 14:45 ` Emanuel Berg
2017-05-31 14:58   ` Héctor Lahoz
2017-05-31 15:20     ` Emanuel Berg [this message]
2017-06-01  9:12       ` Héctor Lahoz
2017-06-01 13:45         ` Emanuel Berg
2017-05-31 15:21     ` John Ankarström
2017-05-31 15:23       ` John Ankarström
2017-05-31 15:40 ` Eli Zaretskii
2017-06-01  9:24   ` Héctor Lahoz
2017-06-01 10:02     ` tomas
2017-06-01 14:20       ` Drew Adams
2017-06-01 15:10         ` tomas
2017-06-01 15:22         ` Héctor Lahoz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8737blaw97.fsf@debian.uxu \
    --to=moasen@zoho.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.