diff options
Diffstat (limited to 'src/lread.c')
| -rw-r--r-- | src/lread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lread.c b/src/lread.c index 02b13affb6a..08a2e856c00 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -1734,7 +1734,7 @@ readevalloop (Lisp_Object readcharfun, | |||
| 1734 | { | 1734 | { |
| 1735 | ptrdiff_t count1 = SPECPDL_INDEX (); | 1735 | ptrdiff_t count1 = SPECPDL_INDEX (); |
| 1736 | 1736 | ||
| 1737 | if (b != 0 && NILP (BVAR (b, name))) | 1737 | if (b != 0 && !BUFFER_LIVE_P (b)) |
| 1738 | error ("Reading from killed buffer"); | 1738 | error ("Reading from killed buffer"); |
| 1739 | 1739 | ||
| 1740 | if (!NILP (start)) | 1740 | if (!NILP (start)) |