diff options
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c index 649ddbe1839..0d0f43e937b 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -1077,7 +1077,8 @@ is first appended to NAME, to speed up finding a non-existent buffer. */) | |||
| 1077 | 1077 | ||
| 1078 | CHECK_STRING (name); | 1078 | CHECK_STRING (name); |
| 1079 | 1079 | ||
| 1080 | if (!NILP (Fstring_equal (name, ignore)) || NILP (Fget_buffer (name))) | 1080 | if ((!NILP (ignore) && !NILP (Fstring_equal (name, ignore))) |
| 1081 | || NILP (Fget_buffer (name))) | ||
| 1081 | return name; | 1082 | return name; |
| 1082 | 1083 | ||
| 1083 | if (SREF (name, 0) != ' ') /* See bug#1229. */ | 1084 | if (SREF (name, 0) != ' ') /* See bug#1229. */ |