1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-03 14:10:47 -08:00

* bs.el (bs-mode): Set revert-buffer-function' to bs-refresh'.

(bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.  Doc fix.
This commit is contained in:
Juanma Barranquero 2009-10-12 04:57:46 +00:00
parent 3b56b1e695
commit fa72d07524
2 changed files with 9 additions and 3 deletions

View file

@ -1,5 +1,9 @@
2009-10-12 Juanma Barranquero <lekktu@gmail.com>
* bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
(bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
Doc fix.
* menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
2009-10-11 Juri Linkov <juri@jurta.org>

View file

@ -664,7 +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)
font-lock-verbose nil
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))
@ -697,8 +698,9 @@ Refresh whole Buffer Selection Menu."
(call-interactively 'bs-set-configuration)
(bs--redisplay t))
(defun bs-refresh ()
"Refresh whole Buffer Selection Menu."
(defun bs-refresh (&rest ignored)
"Refresh whole Buffer Selection Menu.
Arguments are IGNORED (for `revert-buffer')."
(interactive)
(bs--redisplay t))