projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ceb486
)
Fix choice in electric-pair-skip-whitespace-chars
author
Mauro Aranda
<maurooaranda@gmail.com>
Wed, 30 Aug 2023 22:45:09 +0000
(19:45 -0300)
committer
Stefan Kangas
<stefankangas@gmail.com>
Thu, 31 Aug 2023 06:24:25 +0000
(08:24 +0200)
* lisp/elec-pair.el (electric-pair-skip-whitespace-chars): Use repeat
instead of list in custom :type. (Bug#65625)
lisp/elec-pair.el
patch
|
blob
|
history
diff --git
a/lisp/elec-pair.el
b/lisp/elec-pair.el
index e101cbc9e6ff74798cbfaa1420e4bac58a662a97..223c7d897735ddd4951bed03b387b5e3f9067dcd 100644
(file)
--- a/
lisp/elec-pair.el
+++ b/
lisp/elec-pair.el
@@
-153,7
+153,7
@@
return value is considered instead."
:type '(choice (set (const :tag "Space" ?\s)
(const :tag "Tab" ?\t)
(const :tag "Newline" ?\n))
- (
list character
)))
+ (
repeat (character :value " ")
)))
(defvar-local electric-pair-skip-whitespace-function
#'electric-pair--skip-whitespace