]> git.eshelyaron.com Git - emacs.git/commitdiff
lisp/outline.el (outline-minor-mode-cycle-filter): Don't quote lambda
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 6 Jul 2025 16:08:51 +0000 (12:08 -0400)
committerEshel Yaron <me@eshelyaron.com>
Thu, 24 Jul 2025 11:57:23 +0000 (13:57 +0200)
(cherry picked from commit 05520a2e740f7599133898de92a70078f4e1f201)

lisp/outline.el

index fb6714bb15a14971669dc508514d23ef30f02603..1c158a67652e066c826719ce9a59a34eb0adbd23 100644 (file)
@@ -202,10 +202,10 @@ specific positions on the heading, like only at the line's beginning or
 line's end.  This allows these keys to be bound to their usual commands,
 as determined by the major mode, elsewhere on the heading lines.
 This option is only in effect when `outline-minor-mode-cycle' is non-nil."
-  :type '(choice (const :tag "Everywhere" nil)
+  :type `(choice (const :tag "Everywhere" nil)
                  (const :tag "At line beginning" bolp)
                  (const :tag "Not at line beginning"
-                        (lambda () (not (bolp))))
+                        ,(lambda () (not (bolp))))
                  (const :tag "At line end" eolp)
                  (function :tag "Custom filter function"))
   :version "28.1")