File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -259,10 +259,19 @@ to resize right."
259
259
; ; with t and that method can worry about how to get that
260
260
; ; action
261
261
(resize-window--execute-action capital t ))
262
- (t
262
+ (; ; NOTE: Don't use `=' , if `char' is a symbol like
263
+ ; ; 'insertchar it will fail. Use `equal' instead.
264
+ (or (equal char ?q )
265
+ (equal char ?Q )
266
+ (equal char (string-to-char " " )))
263
267
(setq reading-characters nil )
264
268
(resize-window--display-menu 'kill )
265
- (resize-window--remove-backgrounds))))))
269
+ (resize-window--remove-backgrounds))
270
+ (t
271
+ (resize-window--notify
272
+ (format
273
+ " Unregistered key: (%s) %s"
274
+ char (single-key-description char))))))))
266
275
(quit
267
276
(resize-window--display-menu 'kill )
268
277
(resize-window--remove-backgrounds))))
You can’t perform that action at this time.
0 commit comments