Mercurial > emacs
comparison lisp/msb.el @ 83284:360860a0006f
Merged from miles@gnu.org--gnu-2005 (patch 45-55, 214-231)
Patches applied:
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-214
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-215
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-216
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-217
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-218
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-219
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-220
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-221
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-222
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-223
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-224
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-225
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-226
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-227
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-228
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-229
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-230
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-231
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-45
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-46
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-47
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-48
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-49
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-50
Update from CVS: texi Makefile.in CVS keyw cruft
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-51
Update from CVS: ChangeLog tweaks
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-52
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-53
Merge from emacs--cvs-trunk--0
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-54
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-55
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-324
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Mon, 04 Apr 2005 16:43:15 +0000 |
parents | 38d05b1ac290 |
children | ebf4306a600f 02f1dbc4a199 |
comparison
equal
deleted
inserted
replaced
83283:45e5f0224d81 | 83284:360860a0006f |
---|---|
1 ;;; msb.el --- customizable buffer-selection with multiple menus | 1 ;;; msb.el --- customizable buffer-selection with multiple menus |
2 | 2 |
3 ;; Copyright (C) 1993, 94, 95, 97, 98, 99, 2000, 2001, 2003 | 3 ;; Copyright (C) 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2003, |
4 ;; Free Software Foundation, Inc. | 4 ;; 2005 Free Software Foundation, Inc. |
5 | 5 |
6 ;; Author: Lars Lindberg <lars.lindberg@home.se> | 6 ;; Author: Lars Lindberg <lars.lindberg@home.se> |
7 ;; Maintainer: FSF | 7 ;; Maintainer: FSF |
8 ;; Created: 8 Oct 1993 | 8 ;; Created: 8 Oct 1993 |
9 ;; Lindberg's last update version: 3.34 | 9 ;; Lindberg's last update version: 3.34 |
1139 (define-minor-mode msb-mode | 1139 (define-minor-mode msb-mode |
1140 "Toggle Msb mode. | 1140 "Toggle Msb mode. |
1141 With arg, turn Msb mode on if and only if arg is positive. | 1141 With arg, turn Msb mode on if and only if arg is positive. |
1142 This mode overrides the binding(s) of `mouse-buffer-menu' to provide a | 1142 This mode overrides the binding(s) of `mouse-buffer-menu' to provide a |
1143 different buffer menu using the function `msb'." | 1143 different buffer menu using the function `msb'." |
1144 :global t | 1144 :global t :group 'msb |
1145 (if msb-mode | 1145 (if msb-mode |
1146 (progn | 1146 (progn |
1147 (add-hook 'menu-bar-update-hook 'msb-menu-bar-update-buffers) | 1147 (add-hook 'menu-bar-update-hook 'msb-menu-bar-update-buffers) |
1148 (remove-hook 'menu-bar-update-hook 'menu-bar-update-buffers) | 1148 (remove-hook 'menu-bar-update-hook 'menu-bar-update-buffers) |
1149 (msb-menu-bar-update-buffers t)) | 1149 (msb-menu-bar-update-buffers t)) |