From ea7bbb9632c3d4037882b794d1b5b4bf14683d33 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sun, 6 Jul 2025 12:08:51 -0400 Subject: [PATCH] lisp/outline.el (outline-minor-mode-cycle-filter): Don't quote lambda (cherry picked from commit 05520a2e740f7599133898de92a70078f4e1f201) --- lisp/outline.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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") -- 2.39.5