summaryrefslogtreecommitdiff
path: root/lisp/edmacro.el
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2023-02-20 12:55:09 +0100
committerMattias EngdegÄrd <mattiase@acm.org>2023-02-20 13:17:22 +0100
commit4eefadad0670ad1c3da2505d734e528d54c76bef (patch)
tree4f4cff12d6abc20e7fede8cbb72a684cc594d7c5 /lisp/edmacro.el
parentcac13e360547f95ec64d34f38003dfc7ff1a97ee (diff)
downloademacs-4eefadad0670ad1c3da2505d734e528d54c76bef.tar.gz
Repair mistake in a previous edmacro-sanitize-string change
* lisp/edmacro.el (edmacro-sanitize-for-string): This condition should not have been 'repaired' but removed altogether. Do so now, fixing bug#61647. Reported by Eduardo Ochs.
Diffstat (limited to 'lisp/edmacro.el')
-rw-r--r--lisp/edmacro.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/edmacro.el b/lisp/edmacro.el
index c995e2f89d7..8734f7cbebe 100644
--- a/lisp/edmacro.el
+++ b/lisp/edmacro.el
@@ -626,8 +626,7 @@ The string represents the same events; Meta is indicated by bit 7.
This function assumes that the events can be stored in a string."
(setq seq (copy-sequence seq))
(cl-loop for i below (length seq) do
- (when (/= (logand (aref seq i) 128) 0)
- (setf (aref seq i) (logand (aref seq i) 127))))
+ (setf (aref seq i) (logand (aref seq i) 127)))
seq)
;; These are needed in a --without-x build.