commit 002039dca7cd2453702c3db565624d7ad24d0d96 parent 7a5ee7fa24fde495d9d0a2f56658716ac4d8938d Author: Vincent Demeester <vincent@sbr.pm> Date: Wed, 8 Apr 2020 10:47:12 +0200 config-compile.el: remove dedicated hook It's not required anymore. Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
M | tools/emacs/config/config-compile.el | | | 11 | ----------- |
1 file changed, 0 insertions(+), 11 deletions(-)
diff --git a/tools/emacs/config/config-compile.el b/tools/emacs/config/config-compile.el @@ -32,17 +32,6 @@ ;; Show three lines of context around the current message compilation-context-lines 3) (add-hook 'compilation-filter-hook #'vde/colorize-compilation-buffer) - (defun vde/mark-compilation-window-as-dedicated () - "Setup the *compilation* window with custom settings." - (when (string-prefix-p "*compilation: " (buffer-name)) - (save-selected-window - (save-excursion - (let* ((w (get-buffer-window (buffer-name)))) - (when w - (select-window w) - (switch-to-buffer (buffer-name)) - (set-window-dedicated-p w t))))))) - (add-hook 'compilation-mode-hook 'vde/mark-compilation-window-as-dedicated) :hook ((compilation-mode . goto-address-mode))) ;; -UseCompile