From: Lars Ingebrigtsen Date: Fri, 25 Sep 2020 13:35:23 +0000 (+0200) Subject: Fix defcustom type in whitespace.el X-Git-Tag: emacs-28.0.90~5887 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a9ad0bbf14db51d44ad787892cc85eb9ebc397e7;p=emacs.git 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). --- diff --git a/lisp/whitespace.el b/lisp/whitespace.el index 83551053033..2e05d93bf59 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