diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2009-10-13 01:13:08 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2009-10-13 01:13:08 +0000 |
commit | 1e7a80f247991145dcfc2fcac59b484e22aee87c (patch) | |
tree | ee0c6e91472797bb391ff6504e5fc87a79f7d2c3 /lisp/bs.el | |
parent | bf856382407f98916ef89acacb99c6ae612487a6 (diff) | |
download | emacs-1e7a80f247991145dcfc2fcac59b484e22aee87c.tar.gz emacs-1e7a80f247991145dcfc2fcac59b484e22aee87c.tar.bz2 emacs-1e7a80f247991145dcfc2fcac59b484e22aee87c.zip |
* bs.el (bs-mode): Fix last change. (`revert-buffer-function'
should be automatically buffer-local, but isn't.)
Diffstat (limited to 'lisp/bs.el')
-rw-r--r-- | lisp/bs.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/bs.el b/lisp/bs.el index e7febbdb119..c3b1efa08d3 100644 --- a/lisp/bs.el +++ b/lisp/bs.el @@ -664,8 +664,8 @@ 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 - revert-buffer-function 'bs-refresh) + font-lock-verbose nil) + (set (make-local-variable 'revert-buffer-function) 'bs-refresh) (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)) |