Subject: bug#48719: [PATCH] Fix peredicate for outline-minor-mode-highlight

From: Utkarsh Singh <[email-masked]>
Date: Fri, 28 May 2021 21:56:47 +0530

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