condition-case

master
周冲 8 years ago committed by GitHub
parent caa7f03666
commit f3f6283900
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      eaf.el

@ -491,7 +491,7 @@ We need calcuate render allocation to make sure no black border around render co
(defun eaf-input-message (buffer_id interactive_string callback_type)
(let ((input-message))
(setq input-message (ignore-errors (read-string interactive_string)))
(setq input-message (condition-case nil (read-string interactive_string) (quit nil)))
(when input-message
(eaf-call "handle_input_message" buffer_id callback_type input-message)
)))

Loading…
Cancel
Save