From: Stefan Monnier Date: Sun, 6 Jul 2025 16:08:51 +0000 (-0400) Subject: lisp/outline.el (outline-minor-mode-cycle-filter): Don't quote lambda X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ea7bbb9632c3d4037882b794d1b5b4bf14683d33;p=emacs.git lisp/outline.el (outline-minor-mode-cycle-filter): Don't quote lambda (cherry picked from commit 05520a2e740f7599133898de92a70078f4e1f201) --- diff --git a/lisp/outline.el b/lisp/outline.el index fb6714bb15a..1c158a67652 100644 --- a/lisp/outline.el +++ b/lisp/outline.el @@ -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")