Commit d7aff0d6 authored by Glenn Morris's avatar Glenn Morris
Browse files

Merge from emacs-24; up to 2013-01-03T02:37:57Z!rgm@gnu.org

parents 92f78ea3 22ed928d
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)
......
......@@ -812,9 +812,8 @@ get_process (register Lisp_Object name)
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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment