emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 85faf907618 2/2: ; * lisp/visual-wrap.el: use regexp-unmatchable


From: Mattias Engdegård
Subject: master 85faf907618 2/2: ; * lisp/visual-wrap.el: use regexp-unmatchable
Date: Sat, 27 Jan 2024 07:04:04 -0500 (EST)

branch: master
commit 85faf907618798eb09f34ba49527827b0e4026bc
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    ; * lisp/visual-wrap.el: use regexp-unmatchable
---
 lisp/visual-wrap.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/visual-wrap.el b/lisp/visual-wrap.el
index 1cb49538eae..c23a886801d 100644
--- a/lisp/visual-wrap.el
+++ b/lisp/visual-wrap.el
@@ -123,7 +123,7 @@ by `visual-wrap-extra-indent'."
           ;; actually modify the buffer, so this restriction doesn't
           ;; make much sense (and is positively harmful in
           ;; taskpaper-mode where paragraph-start matches everything).
-          (or (let ((paragraph-start "\\`\\'a"))
+          (or (let ((paragraph-start regexp-unmatchable))
                     (fill-context-prefix beg end))
                   ;; Note: fill-context-prefix may return nil; See:
                   ;; http://article.gmane.org/gmane.emacs.devel/156285



reply via email to

[Prev in Thread] Current Thread [Next in Thread]