From: Lars Ingebrigtsen <larsi@gnus.org>
To: daanturo <daanturo@gmail.com>
Cc: Stephen Berman <stephen.berman@gmx.net>, 57176@debbugs.gnu.org
Subject: bug#57176: 29.0.50; Commit 744ed0ce applies outline-minor-mode-highlight-buffer repeatedly
Date: Mon, 15 Aug 2022 09:42:33 +0200 [thread overview]
Message-ID: <87edxi9cly.fsf@gnus.org> (raw)
In-Reply-To: <a147ad45-1804-da21-7195-8fd6fa86561f@gmail.com> (daanturo@gmail.com's message of "Sat, 13 Aug 2022 21:10:03 +0700")
daanturo <daanturo@gmail.com> writes:
> I think we should clear old outline overlays before applying new ones,
> or adjust the conditions like the old one.
I guess this might be the result of this change?
- (if (and global-font-lock-mode (font-lock-specified-p major-mode))
- (progn
- (font-lock-add-keywords nil outline-font-lock-keywords t)
- (font-lock-flush))
- (outline-minor-mode-highlight-buffer)))
+ (when (and global-font-lock-mode (font-lock-specified-p major-mode))
+ (font-lock-add-keywords nil outline-font-lock-keywords t)
+ (font-lock-flush))
+ (outline-minor-mode-highlight-buffer))
I've added Stephen to the CCs; perhaps he has some comments.
next prev parent reply other threads:[~2022-08-15 7:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-13 14:10 bug#57175: 29.0.50; Commit 744ed0ce applies outline-minor-mode-highlight-buffer repeatedly daanturo
2022-08-15 7:42 ` Lars Ingebrigtsen [this message]
2022-08-17 7:57 ` bug#57176: " Stephen Berman
2022-08-30 17:09 ` Juri Linkov
2022-08-30 19:13 ` Stephen Berman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87edxi9cly.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=57176@debbugs.gnu.org \
--cc=daanturo@gmail.com \
--cc=stephen.berman@gmx.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).