summaryrefslogtreecommitdiff
path: root/lisp/edmacro.el
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2000-05-21 19:51:14 +0000
committerDave Love <fx@gnu.org>2000-05-21 19:51:14 +0000
commitac2665815a33a8bd106741f13e06dcdd0033ea41 (patch)
tree65510b533b2f5afe89afd78777c5b0aaf66c7db9 /lisp/edmacro.el
parentcb7216a79a8a82cafaccf5506d187d3ac6ff4711 (diff)
downloademacs-ac2665815a33a8bd106741f13e06dcdd0033ea41.tar.gz
(edmacro-parse-keys): Return vector if any elements are invalid
characters.
Diffstat (limited to 'lisp/edmacro.el')
-rw-r--r--lisp/edmacro.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/edmacro.el b/lisp/edmacro.el
index 1b8a3b569c6..d53bdb11359 100644
--- a/lisp/edmacro.el
+++ b/lisp/edmacro.el
@@ -711,7 +711,7 @@ If START or END is negative, it counts from the end."
(setq res (edmacro-subseq res 2 -2)))
(if (and (not need-vector)
(loop for ch across res
- always (and (integerp ch)
+ always (and (char-valid-p ch)
(let ((ch2 (logand ch (lognot ?\M-\^@))))
(and (>= ch2 0) (<= ch2 127))))))
(concat (loop for ch across res