diff options
| author | Juanma Barranquero | 2009-10-13 01:13:08 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2009-10-13 01:13:08 +0000 |
| commit | 1e7a80f247991145dcfc2fcac59b484e22aee87c (patch) | |
| tree | ee0c6e91472797bb391ff6504e5fc87a79f7d2c3 | |
| parent | bf856382407f98916ef89acacb99c6ae612487a6 (diff) | |
| download | emacs-1e7a80f247991145dcfc2fcac59b484e22aee87c.tar.gz emacs-1e7a80f247991145dcfc2fcac59b484e22aee87c.zip | |
* bs.el (bs-mode): Fix last change. (`revert-buffer-function'
should be automatically buffer-local, but isn't.)
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/bs.el | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 58975e14f44..380d9a5bd4b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2009-10-13 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * bs.el (bs-mode): Fix last change. (`revert-buffer-function' | ||
| 4 | should be automatically buffer-local, but isn't.) | ||
| 5 | |||
| 1 | 2009-10-12 Sam Steingold <sds@gnu.org> | 6 | 2009-10-12 Sam Steingold <sds@gnu.org> |
| 2 | 7 | ||
| 3 | * progmodes/compile.el (compilation-next-error-function): Fix the | 8 | * progmodes/compile.el (compilation-next-error-function): Fix the |
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. | |||
| 664 | show-trailing-whitespace nil | 664 | show-trailing-whitespace nil |
| 665 | font-lock-global-modes '(not bs-mode) | 665 | font-lock-global-modes '(not bs-mode) |
| 666 | font-lock-defaults '(bs-mode-font-lock-keywords t) | 666 | font-lock-defaults '(bs-mode-font-lock-keywords t) |
| 667 | font-lock-verbose nil | 667 | font-lock-verbose nil) |
| 668 | revert-buffer-function 'bs-refresh) | 668 | (set (make-local-variable 'revert-buffer-function) 'bs-refresh) |
| 669 | (add-hook 'window-size-change-functions 'bs--track-window-changes) | 669 | (add-hook 'window-size-change-functions 'bs--track-window-changes) |
| 670 | (add-hook 'kill-buffer-hook 'bs--remove-hooks nil t) | 670 | (add-hook 'kill-buffer-hook 'bs--remove-hooks nil t) |
| 671 | (add-hook 'change-major-mode-hook 'bs--remove-hooks nil t)) | 671 | (add-hook 'change-major-mode-hook 'bs--remove-hooks nil t)) |