# HG changeset patch # User Juanma Barranquero # Date 1255396388 0 # Node ID 49a18cece067bd9c5f461f8fa453a8b393fc71d7 # Parent f846b59ab2510869a00577ab99b9836f8d672ae6 * bs.el (bs-mode): Fix last change. (`revert-buffer-function' should be automatically buffer-local, but isn't.) diff -r f846b59ab251 -r 49a18cece067 lisp/ChangeLog --- a/lisp/ChangeLog Tue Oct 13 01:05:18 2009 +0000 +++ b/lisp/ChangeLog Tue Oct 13 01:13:08 2009 +0000 @@ -1,3 +1,8 @@ +2009-10-13 Juanma Barranquero + + * bs.el (bs-mode): Fix last change. (`revert-buffer-function' + should be automatically buffer-local, but isn't.) + 2009-10-12 Sam Steingold * progmodes/compile.el (compilation-next-error-function): Fix the diff -r f846b59ab251 -r 49a18cece067 lisp/bs.el --- a/lisp/bs.el Tue Oct 13 01:05:18 2009 +0000 +++ b/lisp/bs.el Tue Oct 13 01:13:08 2009 +0000 @@ -664,8 +664,8 @@ 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))