diff options
| author | Axel Forsman <axel@axelf.se> | 2023-08-08 21:56:53 +0200 |
|---|---|---|
| committer | Axel Forsman <axel@axelf.se> | 2023-08-12 15:29:37 +0200 |
| commit | 0cbd61f2de104fab16602d0418605cd0513b16f3 (patch) | |
| tree | ce188ca544186ce5f9a6cf7a44004269882dc091 /evil-command-window.el | |
| parent | b291039b0c6ffc3b2f3c9f02b8ad2f0041127b12 (diff) | |
Some cleanups
Diffstat (limited to 'evil-command-window.el')
| -rw-r--r-- | evil-command-window.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/evil-command-window.el b/evil-command-window.el index 68068a8..c364e41 100644 --- a/evil-command-window.el +++ b/evil-command-window.el @@ -44,8 +44,7 @@ (define-derived-mode evil-command-window-mode fundamental-mode "Evil-cmd" "Major mode for the Evil command line window." (auto-fill-mode 0) - (setq-local after-change-functions - (cons #'evil-command-window-draw-prefix after-change-functions))) + (add-hook 'after-change-functions #'evil-command-window-draw-prefix nil t)) (defun evil-command-window (history cmd-key execute-fn) "Open a command line window for HISTORY with CMD-KEY and EXECUTE-FN. |
