diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2008-01-04 06:29:12 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2008-01-04 06:29:12 +0000 |
commit | 48d33090d0c796fd04b70ddd74ebfa16a94922c9 (patch) | |
tree | b774bb1218b3a9694ff2a46a1c91acbe4b5543f5 /lisp/msb.el | |
parent | 3da360a745b3835504e7ac426dfec5f0908dcb3a (diff) | |
download | emacs-48d33090d0c796fd04b70ddd74ebfa16a94922c9.tar.gz |
* erc-ibuffer.el (erc-channel-modes):
* bs.el (bs--sort-by-mode, bs--get-mode-name):
* imenu.el (imenu-add-to-menubar):
* makesum.el (make-command-summary):
* mouse.el (mouse-major-mode-menu, mouse-popup-menubar, mouse-buffer-menu):
* msb.el (msb--mode-menu-cond):
* calc/calc-embed.el (calc-do-embedded):
* emacs-lisp/helper.el (Helper-describe-mode):
* mail/emacsbug.el (report-emacs-bug):
* progmodes/hideshow.el (hs-grok-mode-type):
* textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
* textmodes/table.el (*table--cell-describe-mode):
Pass mode-name through format-mode-line.
Diffstat (limited to 'lisp/msb.el')
-rw-r--r-- | lisp/msb.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/msb.el b/lisp/msb.el index cc5a0adcded..a0312064f99 100644 --- a/lisp/msb.el +++ b/lisp/msb.el @@ -1,7 +1,7 @@ ;;; msb.el --- customizable buffer-selection with multiple menus ;; Copyright (C) 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002, -;; 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. +;; 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. ;; Author: Lars Lindberg <lars.lindberg@home.se> ;; Maintainer: FSF @@ -829,7 +829,8 @@ results in (with-current-buffer buffer (when (and (not (msb-invisible-buffer-p)) (not (assq major-mode mode-list))) - (push (cons major-mode mode-name) + (push (cons major-mode + (format-mode-line mode-name nil nil buffer)) mode-list)))) mode-list) (lambda (item1 item2) |