diff options
| author | Juanma Barranquero | 2007-10-16 10:57:28 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2007-10-16 10:57:28 +0000 |
| commit | 8db43126511d3ab721efe3c383de08ff661b2c35 (patch) | |
| tree | f6ceee2f71f006882d0b213dd380d1595bbb9950 | |
| parent | e7a4eaadf2f5ce31a310b8e4be10e2a7346c5e14 (diff) | |
| download | emacs-8db43126511d3ab721efe3c383de08ff661b2c35.tar.gz emacs-8db43126511d3ab721efe3c383de08ff661b2c35.zip | |
(bs-mode): Set hooks (accidentally left out in the previous commit).
| -rw-r--r-- | lisp/bs.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/bs.el b/lisp/bs.el index 548d1b1cfef..8667190fe9b 100644 --- a/lisp/bs.el +++ b/lisp/bs.el | |||
| @@ -671,7 +671,10 @@ to show always. | |||
| 671 | show-trailing-whitespace nil | 671 | show-trailing-whitespace nil |
| 672 | font-lock-global-modes '(not bs-mode) | 672 | font-lock-global-modes '(not bs-mode) |
| 673 | font-lock-defaults '(bs-mode-font-lock-keywords t) | 673 | font-lock-defaults '(bs-mode-font-lock-keywords t) |
| 674 | font-lock-verbose nil)) | 674 | font-lock-verbose nil) |
| 675 | (add-hook 'window-size-change-functions 'bs--track-window-changes) | ||
| 676 | (add-hook 'kill-buffer-hook 'bs--remove-hooks nil t) | ||
| 677 | (add-hook 'change-major-mode-hook 'bs--remove-hooks nil t)) | ||
| 675 | 678 | ||
| 676 | (defun bs--restore-window-config () | 679 | (defun bs--restore-window-config () |
| 677 | "Restore window configuration on the current frame." | 680 | "Restore window configuration on the current frame." |