nitpicky naming adjustment
This commit is contained in:
parent
c8811826f7
commit
468aab71b7
|
@ -11,7 +11,7 @@
|
||||||
;; - when the completions buffer is selected, close it
|
;; - when the completions buffer is selected, close it
|
||||||
;; - if the minibuffer is open but not focused, close it
|
;; - if the minibuffer is open but not focused, close it
|
||||||
;; - otherwise, run keyboard-quit
|
;; - otherwise, run keyboard-quit
|
||||||
(defun prot/keyboard-quit-dwim ()
|
(defun gered/keyboard-quit-dwim ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(cond
|
(cond
|
||||||
((region-active-p)
|
((region-active-p)
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
(t
|
(t
|
||||||
(keyboard-quit))))
|
(keyboard-quit))))
|
||||||
|
|
||||||
(define-key global-map (kbd "C-g") #'prot/keyboard-quit-dwim)
|
(define-key global-map (kbd "C-g") #'gered/keyboard-quit-dwim)
|
||||||
|
|
||||||
(global-set-key (kbd "C-x C-S-E") #'eval-buffer)
|
(global-set-key (kbd "C-x C-S-E") #'eval-buffer)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue