+2013-11-23 Andreas Schwab <schwab@linux-m68k.org>
+
+ * process.c (get_process): Check that OBJ is a live buffer. (Bug#15923)
+
2013-11-23 Glenn Morris <rgm@gnu.org>
Empty elements in EMACSLOADPATH stand for the default. (Bug#12100)
else
obj = name;
- /* Now obj should be either a buffer object or a process object.
- */
- if (BUFFERP (obj))
+ /* Now obj should be either a (live) buffer object or a process object. */
+ if (BUFFERP (obj) && !NILP (BVAR (XBUFFER (obj), name)))
{
proc = Fget_buffer_process (obj);
if (NILP (proc))