[Top][All Lists]

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

Re: org-hide-emphasis-markers

From: Joost Kremers
Subject: Re: org-hide-emphasis-markers
Date: Fri, 06 Mar 2020 08:51:53 +0100
User-agent: mu4e 1.3.9; emacs 27.0.90

On Fri, Mar 06 2020, Colin Baxter wrote:

Is it possible to set the org-mode variable 'org-hide-emphasis-markers'
as a local variables? I've tried

# eval: (setq org-hide-emphasis-markers t)

but that turns it on globally.

You could try putting the following in your init file:

   (make-variable-buffer-local 'org-hide-emphasis-markers)

and then use a file-local variable setting. It should be enough to do:

# org-hide-emphasis-markers: t

There shouldn't be a need for `eval` in this case.

If that approach doesn't work (I don't see why it wouldn't though), you could try the following in your local variable block:

# eval: (set (make-local-variable 'org-hide-emphasis-markers) t)


Joost Kremers
Life has its moments

reply via email to

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