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

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

Re: dired-hide-details-mode have no effect suddenly


From: Tomas Nordin
Subject: Re: dired-hide-details-mode have no effect suddenly
Date: Thu, 21 Sep 2017 21:20:36 +0200

Tomas Nordin <tomasn@posteo.net> writes:

> "Charles A. Roelli" <charles@aurox.ch> writes:
>
>>> font-lock-extra-managed-props is a variable defined in ‘font-lock.el’.
>>> Its value is (invisible composition)
>>> 
>>> ... and problem is back. Who has changed it I don't know. I know that it
>>> has happened around doing some magit.
>>> 
>>> Cool, resetting that variable to nil removes the problem. But still,
>>> hmm, ehh.
>>
>> Neat.  Does M-x rgrep font-lock-extra-managed-props RET * RET
>> ~/.emacs.d/elpa/ show anything interesting?
>
> Yes, three. I think the relevant two are those:
>
> ./markdown-mode-20170610.602/markdown-mode.el:7783:  (add-to-list 
> 'font-lock-extra-managed-props 'composition)
> ./markdown-mode-20170610.602/markdown-mode.el:7789:  (add-to-list 
> 'font-lock-extra-managed-props 'invisible)

I have updated that package and now those variables are manipulated like this:

(setq-local font-lock-extra-managed-props
              (append font-lock-extra-managed-props
                      '(composition display invisible)))

Is this a more proper way to do it? :)



reply via email to

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