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).
This commit is contained in:
parent
bf1b3714cc
commit
a9ad0bbf14
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue