emacs-diffs
[Top][All Lists]
Advanced

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

master c1a1339 1/2: Add some search-whitespace-regexp examples


From: Lars Ingebrigtsen
Subject: master c1a1339 1/2: Add some search-whitespace-regexp examples
Date: Mon, 13 Sep 2021 03:39:53 -0400 (EDT)

branch: master
commit c1a13395260ac5d06b5cf4c75aa318653db6f812
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Add some search-whitespace-regexp examples
    
    * lisp/isearch.el (search-whitespace-regexp): Add some
    alternatives in the defcustom.
---
 lisp/isearch.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/isearch.el b/lisp/isearch.el
index efa7db6..bebc80a 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -133,6 +133,8 @@ tab, a carriage return (control-M), a newline, and `]+'.  
Don't
 add any capturing groups into this value; that can change the
 numbering of existing capture groups in unexpected ways."
   :type '(choice (const :tag "Match Spaces Literally" nil)
+                 (const :tag "Tabs and spaces" "[ \t]+")
+                 (const :tag "Tabs, spaces and line breaks" "[ \t\n]+")
                 regexp)
   :version "28.1")
 



reply via email to

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