* lisp/edmacro.el (edmacro-sanitize-for-string): Fix condition.
This is of little consequence in practice since the input is always a vector of keys representing a prefix, where bit 7 isn't likely to be set when higher bits are set, but it silences a (justified) warning.
This commit is contained in:
parent
054f553b9c
commit
e5695faec4
1 changed files with 1 additions and 1 deletions
|
|
@ -626,7 +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)
|
||||
(when (/= (logand (aref seq i) 128) 0)
|
||||
(setf (aref seq i) (logand (aref seq i) 127))))
|
||||
seq)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue