Commit 8db43126 authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

(bs-mode): Set hooks (accidentally left out in the previous commit).

parent e7a4eaad
......@@ -671,7 +671,10 @@ to show always.
show-trailing-whitespace nil
font-lock-global-modes '(not bs-mode)
font-lock-defaults '(bs-mode-font-lock-keywords t)
font-lock-verbose nil))
font-lock-verbose nil)
(add-hook 'window-size-change-functions 'bs--track-window-changes)
(add-hook 'kill-buffer-hook 'bs--remove-hooks nil t)
(add-hook 'change-major-mode-hook 'bs--remove-hooks nil t))
(defun bs--restore-window-config ()
"Restore window configuration on the current frame."
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment