diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-10-01 22:44:43 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-10-01 22:44:43 -0700 |
commit | df52aeb91d63c3f904c717fa8897e59fd9a5a557 (patch) | |
tree | 0d3a471d6e44def1ba160d06b454a149a1a033b9 /src/minibuf.c | |
parent | 39b5db3b1bb51088830bdf2d5e50940d462573d2 (diff) | |
parent | 32c1fffd728cfed8427d144bf7c622257aad859f (diff) | |
download | emacs-df52aeb91d63c3f904c717fa8897e59fd9a5a557.tar.gz emacs-df52aeb91d63c3f904c717fa8897e59fd9a5a557.tar.bz2 emacs-df52aeb91d63c3f904c717fa8897e59fd9a5a557.zip |
Merge from trunk.
Diffstat (limited to 'src/minibuf.c')
-rw-r--r-- | src/minibuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/minibuf.c b/src/minibuf.c index 76443fcf214..9b905f748bb 100644 --- a/src/minibuf.c +++ b/src/minibuf.c @@ -1859,8 +1859,8 @@ The arguments STRING and PREDICATE are as in `try-completion', /* First, look for a non-internal buffer in `res'. */ while (CONSP (bufs) && SREF (XCAR (bufs), 0) == ' ') bufs = XCDR (bufs); - if (NILP (bufs)) - /* All bufs in `res' are internal, so don't trip them out. */ + if (NILP (bufs) && EQ (Flength (res), Flength (Vbuffer_alist))) + /* All bufs are internal, so don't trip them out. */ return res; res = bufs; while (CONSP (XCDR (bufs))) |