emacs-diffs
[Top][All Lists]
Advanced

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

master a9ad0bb: Fix defcustom type in whitespace.el


From: Lars Ingebrigtsen
Subject: master a9ad0bb: Fix defcustom type in whitespace.el
Date: Fri, 25 Sep 2020 09:35:31 -0400 (EDT)

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

    Fix defcustom type in whitespace.el
    
    * lisp/whitespace.el (whitespace-space-after-tab-regexp)
    (whitespace-indentation-regexp): The first string here isn't a
    regexp, it's a string (that's expanded with format to be a regexp).
---
 lisp/whitespace.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/whitespace.el b/lisp/whitespace.el
index 8355105..2e05d93 100644
--- a/lisp/whitespace.el
+++ b/lisp/whitespace.el
@@ -728,7 +728,7 @@ and the cons cdr is used for TABs visualization.
 
 Used when `whitespace-style' includes `indentation',
 `indentation::tab' or  `indentation::space'."
-  :type '(cons (regexp :tag "Indentation SPACEs")
+  :type '(cons (string :tag "Indentation SPACEs")
               (regexp :tag "Indentation TABs"))
   :group 'whitespace)
 
@@ -759,8 +759,8 @@ and the cons cdr is used for TABs visualization.
 
 Used when `whitespace-style' includes `space-after-tab',
 `space-after-tab::tab' or `space-after-tab::space'."
-  :type '(cons (regexp :tag "SPACEs After TAB")
-              regexp)
+  :type '(cons (string :tag "SPACEs After TAB")
+              string)
   :group 'whitespace)
 
 (defcustom whitespace-big-indent-regexp



reply via email to

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