X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/e2ae1c5a40e2802fcd9f5ee26b4906be97c8b878..058e8562775571790e48b1614e84a9617a9e1e17:/lisp/msb.el diff --git a/lisp/msb.el b/lisp/msb.el index 149d193446..12edbbfea1 100644 --- a/lisp/msb.el +++ b/lisp/msb.el @@ -1,6 +1,6 @@ ;;; msb.el --- customizable buffer-selection with multiple menus -;; Copyright (C) 1993-1995, 1997-2015 Free Software Foundation, Inc. +;; Copyright (C) 1993-1995, 1997-2016 Free Software Foundation, Inc. ;; Author: Lars Lindberg ;; Maintainer: emacs-devel@gnu.org @@ -659,7 +659,7 @@ If the argument is left out or nil, then the current buffer is considered." (defun msb--create-function-info (menu-cond-elt) "Create a vector from an element MENU-COND-ELT of `msb-menu-cond'. This takes the form: -\[BUFFER-LIST-VARIABLE CONDITION MENU-SORT-KEY MENU-TITLE ITEM-HANDLER SORTER] +[BUFFER-LIST-VARIABLE CONDITION MENU-SORT-KEY MENU-TITLE ITEM-HANDLER SORTER] See `msb-menu-cond' for a description of its elements." (let* ((list-symbol (make-symbol "-msb-buffer-list")) (tmp-ih (and (> (length menu-cond-elt) 3) @@ -745,7 +745,7 @@ to the buffer-list variable in FUNCTION-INFO." (msb--add-to-menu buffer info max-buffer-name-length))) (error (unless msb--error (setq msb--error - (format + (format-message "In msb-menu-cond, error for buffer `%s'." (buffer-name buffer))) (error "%s" msb--error)))))) @@ -777,7 +777,7 @@ SORT-PREDICATE. Example: \(msb--aggregate-alist - '((a . a1) (a . a2) (b . b1) (c . c3) (a . a4) (a . a3) (b . b3) (b . b2)) + \\='((a . a1) (a . a2) (b . b1) (c . c3) (a . a4) (a . a3) (b . b3) (b . b2)) (function string=) (lambda (item1 item2) (string< (symbol-name item1) (symbol-name item2))))