From: Utkarsh Singh <utkarsh190601@gmail.com>
To: 48719@debbugs.gnu.org
Subject: bug#48719: [PATCH] Fix peredicate for outline-minor-mode-highlight
Date: Fri, 28 May 2021 21:56:47 +0530 [thread overview]
Message-ID: <878s3yj03c.fsf@gmail.com> (raw)
Hi,
Currently `outline-minor-mode-highlight' supports nil, t, override and
append as possible values but we are using `booleanp' as predicate for
safe-local-variable which only cover first two cases.
diff --git a/lisp/outline.el b/lisp/outline.el
index fa7c1a27d9..efe3314ead 100644
--- a/lisp/outline.el
+++ b/lisp/outline.el
@@ -349,7 +349,7 @@ outline-minor-mode-highlight
(const :tag "Append outline faces to major mode faces" append)
(const :tag "Highlight separately from major mode faces" t))
:version "28.1")
-;;;###autoload(put 'outline-minor-mode-highlight 'safe-local-variable 'booleanp)
+;;;###autoload(put 'outline-minor-mode-highlight 'safe-local-variable 'symbolp)
(defun outline-minor-mode-highlight-buffer ()
;; Fallback to overlays when font-lock is unsupported.
--
Utkarsh Singh
http://utkarshsingh.xyz
next reply other threads:[~2021-05-28 16:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-28 16:26 Utkarsh Singh [this message]
2021-05-28 18:56 ` bug#48719: [PATCH] Fix peredicate for outline-minor-mode-highlight Juri Linkov
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=878s3yj03c.fsf@gmail.com \
--to=utkarsh190601@gmail.com \
--cc=48719@debbugs.gnu.org \
/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).