diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2020-09-25 15:35:23 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2020-09-25 15:35:23 +0200 |
commit | a9ad0bbf14db51d44ad787892cc85eb9ebc397e7 (patch) | |
tree | 38cb89e9167a1e05a94c54245de1a65caa3ae9d3 /lisp/whitespace.el | |
parent | bf1b3714cc5ebae7cdd0100fdb1bf2e90c56511e (diff) | |
download | emacs-a9ad0bbf14db51d44ad787892cc85eb9ebc397e7.tar.gz |
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).
Diffstat (limited to 'lisp/whitespace.el')
-rw-r--r-- | lisp/whitespace.el | 6 |
1 files changed, 3 insertions, 3 deletions
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 |