[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How can I change a buffer-local glyphless char table?
From: |
Nick Helm |
Subject: |
Re: How can I change a buffer-local glyphless char table? |
Date: |
Thu, 07 Jun 2018 10:13:51 +1200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (darwin) |
On Thu, 07 Jun 2018 at 02:50:32 +1200, Eli Zaretskii wrote:
>> 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.
>>
>> 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?
As an experiment, I changed the value of glyphless-char-display as
described above, copied the new value from C-h v, restored the default,
then did setq-local with the copied value in the target buffer.