branch: externals/rcirc-menu commit a02d79a2a03b3f1008ca687703fe77481e50ebe2 Author: Alex Schroeder <a...@gnu.org> Commit: Alex Schroeder <a...@gnu.org>
rcirc-menu: fix tabulated lists everywhere rcirc-menu-refresh is now added to tabulated-list-revert-hook locally in order to fix all other modes based on tabulated-lists, e.g. the package list. --- rcirc-menu.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rcirc-menu.el b/rcirc-menu.el index 46adab5..4e13f893 100644 --- a/rcirc-menu.el +++ b/rcirc-menu.el @@ -1,4 +1,4 @@ -;;; rcirc-menu --- a menu of all your rcirc connections +;;; rcirc-menu --- A menu of all your rcirc connections ;; Copyright (C) 2017 Free Software Foundation, Inc. @@ -8,6 +8,8 @@ ;; Version: 1.0 ;; Keywords: comm +;; This file is part of GNU Emacs. +;; ;; This program is free software: you can redistribute it and/or modify it ;; under the terms of the GNU General Public License as published by the Free ;; Software Foundation, either version 3 of the License, or (at your option) @@ -169,7 +171,7 @@ In Rcirc Menu mode, the following commands are defined: \\[Buffer-menu-backup-unmark] Back up a line and remove marks. \\[revert-buffer] Update the list of buffers. \\[Buffer-menu-bury] Bury the buffer listed on this line." - (add-hook 'tabulated-list-revert-hook 'rcirc-menu-refresh)) + (add-hook 'tabulated-list-revert-hook 'rcirc-menu-refresh nil t)) (defun rcirc-menu-refresh () "Refresh the list of buffers."