diff --git a/jcs-echobar.el b/jcs-echobar.el index e0b2630..624507f 100644 --- a/jcs-echobar.el +++ b/jcs-echobar.el @@ -70,7 +70,6 @@ (add-hook 'post-command-hook #'keycast--update t) (add-hook 'minibuffer-exit-hook #'keycast--minibuffer-exit t) (advice-add 'keycast--update :after #'jcs-echobar--keycast-update)) - (add-hook 'pre-command-hook #'jcs-echobar--pre-command) (add-hook 'window-size-change-functions #'jcs-echobar--window-resize) (jcs-echobar--window-resize) ; call it manually once (setq jcs-echobar--default-function echo-bar-function) @@ -83,7 +82,6 @@ (remove-hook 'post-command-hook #'keycast--update) (remove-hook 'minibuffer-exit-hook #'keycast--minibuffer-exit) (advice-remove 'keycast--update #'jcs-echobar--keycast-update)) - (remove-hook 'pre-command-hook #'jcs-echobar--pre-command) (remove-hook 'window-size-change-functions #'jcs-echobar--window-resize) (setq echo-bar-function jcs-echobar--default-function) (echo-bar-mode -1)) @@ -116,10 +114,6 @@ ;; (@* "Core" ) ;; -(defun jcs-echobar--pre-command () - "Pre command hook." - (message nil)) ; Avoid `echo-bar' mess up window config! - (defvar jcs-echobar--render nil) (defun jcs-echobar--render-width ()