]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/outline.el (outline-font-lock-keywords): Simplify
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 11 Mar 2021 18:30:15 +0000 (13:30 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 11 Mar 2021 18:30:15 +0000 (13:30 -0500)
The `laxmatch` part of `font-lock-keywords` is just a boolean.

lisp/outline.el

index a859f9ac8f51fc93de214e2f3991678e5dc66997..b4d37b2207f4bd43fdf3112741c1dad5de964c1f 100644 (file)
@@ -210,10 +210,7 @@ in the file it applies to.")
                   (when (and outline-minor-mode
                              (eq outline-minor-mode-highlight 'override))
                     'append)
-                  (if (and outline-minor-mode
-                           (eq outline-minor-mode-highlight t))
-                      'append
-                    t))))
+                  t)))
   "Additional expressions to highlight in Outline mode.")
 
 (defface outline-1