* bs.el (bs-mode): Fix last change. (`revert-buffer-function'
should be automatically buffer-local, but isn't.)
This commit is contained in:
parent
bf85638240
commit
1e7a80f247
2 changed files with 7 additions and 2 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue