[Top][All Lists]

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

Re: master d7e848ccda 2/3: Use icons in outline

From: Lars Ingebrigtsen
Subject: Re: master d7e848ccda 2/3: Use icons in outline
Date: Fri, 29 Jul 2022 13:36:30 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Michael Heerdegen <michael_heerdegen@web.de> writes:

> Lars, this has an unintended effect for me: If I ediff buffers with
> outline-minor-mode turned on, and do
> #+begin_src emacs-lisp
> (add-hook 'ediff-prepare-buffer-hook
>           (defun test ()
>             (when (bound-and-true-p outline-minor-mode)
>               (outline-show-all))))
> #+end_src
> then the ediffed buffers will get buttons.  Worse: they stay even after
> finishing Ediff.  Tested with emacs -Q.
> Seems that when `ediff-prepare-buffer-hook' is run the buffers are in a
> temporary state where the (derived-mode . special-mode) condition is
> fulfilled, or something like that.

The logic for using buttons was completely wrong -- I've now fixed it on
the trunk.  Can you see whether this fixes this problem, too?

reply via email to

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