unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#48719: [PATCH] Fix peredicate for outline-minor-mode-highlight
@ 2021-05-28 16:26 Utkarsh Singh
  2021-05-28 18:56 ` Juri Linkov
  0 siblings, 1 reply; 2+ messages in thread
From: Utkarsh Singh @ 2021-05-28 16:26 UTC (permalink / raw)
  To: 48719

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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#48719: [PATCH] Fix peredicate for outline-minor-mode-highlight
  2021-05-28 16:26 bug#48719: [PATCH] Fix peredicate for outline-minor-mode-highlight Utkarsh Singh
@ 2021-05-28 18:56 ` Juri Linkov
  0 siblings, 0 replies; 2+ messages in thread
From: Juri Linkov @ 2021-05-28 18:56 UTC (permalink / raw)
  To: Utkarsh Singh; +Cc: 48719

tags 48719 fixed
close 48719 28.0.50
thanks

> 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.

Thanks for the patch, now pushed to master.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-28 18:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-28 16:26 bug#48719: [PATCH] Fix peredicate for outline-minor-mode-highlight Utkarsh Singh
2021-05-28 18:56 ` Juri Linkov

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).