diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2012-08-01 00:34:36 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2012-08-01 00:34:36 +0200 |
commit | f1a71c6e3d66758270a98c9a4c104116c53f619e (patch) | |
tree | 67e60ec78d1ae1c066e6b76419a652ad11267d7c /lisp/buff-menu.el | |
parent | b2c7a1068135e78b065d05069012f2fb240fea9d (diff) | |
download | emacs-f1a71c6e3d66758270a98c9a4c104116c53f619e.tar.gz |
Fixes: debbugs:12108
* buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
Diffstat (limited to 'lisp/buff-menu.el')
-rw-r--r-- | lisp/buff-menu.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/buff-menu.el b/lisp/buff-menu.el index 6a65749e0c5..e9288d528ec 100644 --- a/lisp/buff-menu.el +++ b/lisp/buff-menu.el @@ -564,7 +564,8 @@ means list those buffers and no others." (buffer (get-buffer-create "*Buffer List*"))) (with-current-buffer buffer (Buffer-menu-mode) - (setq Buffer-menu-files-only (and files-only (>= files-only 0))) + (setq Buffer-menu-files-only + (and files-only (>= (prefix-numeric-value files-only) 0))) (list-buffers--refresh buffer-list old-buffer) (tabulated-list-print)) buffer)) |