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

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

Re: How can I change a buffer-local glyphless char table?


From: Eli Zaretskii
Subject: Re: How can I change a buffer-local glyphless char table?
Date: Wed, 06 Jun 2018 17:50:32 +0300

> From: Nick Helm <nick@tenpoint.co.nz>
> Date: Wed, 06 Jun 2018 14:27:59 +1200
> 
>   (update-glyphless-char-display 'glyphless-char-display-control
>     (eval (car (get 'glyphless-char-display-control
>                     'standard-value))))
> 
> However this has a global effect. I would like it to only act on the
> current buffer. I've tried creating a buffer-local char table with:
> 
>   (make-local-variable 'glyphless-char-display)
> 
> and repeating the call to update-glyphless-char-display, but it
> affects both local and global values regardless.
> 
> If I make glyphless-char-display buffer-local and tweak its value
> directly, it works fine.

What do you mean by "tweak its value directly", and how does that
differ from the above tweaking?



reply via email to

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