Commit ac266581 authored by Dave Love's avatar Dave Love
Browse files

(edmacro-parse-keys): Return vector if any elements are invalid

characters.
parent cb7216a7
2000-05-21 Dave Love <fx@gnu.org>
* edmacro.el (edmacro-parse-keys): Return vector if any elements
are invalid characters.
* international/mule-util.el (detect-coding-with-priority): Use
mapc. Remove redundant lambda.
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment