aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/bs.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/bs.el')
-rw-r--r--lisp/bs.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/bs.el b/lisp/bs.el
index 54924196bf0..e7febbdb119 100644
--- a/lisp/bs.el
+++ b/lisp/bs.el
@@ -664,7 +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 (add-hook 'window-size-change-functions 'bs--track-window-changes) 669 (add-hook 'window-size-change-functions 'bs--track-window-changes)
669 (add-hook 'kill-buffer-hook 'bs--remove-hooks nil t) 670 (add-hook 'kill-buffer-hook 'bs--remove-hooks nil t)
670 (add-hook 'change-major-mode-hook 'bs--remove-hooks nil t)) 671 (add-hook 'change-major-mode-hook 'bs--remove-hooks nil t))
@@ -697,8 +698,9 @@ Refresh whole Buffer Selection Menu."
697 (call-interactively 'bs-set-configuration) 698 (call-interactively 'bs-set-configuration)
698 (bs--redisplay t)) 699 (bs--redisplay t))
699 700
700(defun bs-refresh () 701(defun bs-refresh (&rest ignored)
701 "Refresh whole Buffer Selection Menu." 702 "Refresh whole Buffer Selection Menu.
703Arguments are IGNORED (for `revert-buffer')."
702 (interactive) 704 (interactive)
703 (bs--redisplay t)) 705 (bs--redisplay t))
704 706