Check if evil-emacs-state-local-map is bound

This commit is contained in:
Akhil Wali 2019-10-10 22:35:26 +13:00
parent 94ce52a70d
commit 8129112e59

View file

@ -90,7 +90,8 @@
(process (get-buffer-process cmd-buf))) (process (get-buffer-process cmd-buf)))
(cond ((and process (eq 'run (process-status process))) (cond ((and process (eq 'run (process-status process)))
(pop-to-buffer cmd-buf) (pop-to-buffer cmd-buf)
(define-key evil-emacs-state-local-map (kbd "ESC ESC") #'+debugger/quit) (when (boundp 'evil-emacs-state-local-map)
(define-key evil-emacs-state-local-map (kbd "ESC ESC") #'+debugger/quit))
(realgud:track-set-debugger debugger-name) (realgud:track-set-debugger debugger-name)
(realgud-cmdbuf-info-in-debugger?= 't) (realgud-cmdbuf-info-in-debugger?= 't)
(realgud-cmdbuf-info-cmd-args= cmd-args) (realgud-cmdbuf-info-cmd-args= cmd-args)