Commit f8e16324 authored by Grégoire Jadi's avatar Grégoire Jadi Committed by Leo Liu
Browse files

* net/rcirc.el (rcirc-buffer-process): Restore previous behaviour.

Fixes: debbugs:17772
parent f9bae01e
2014-06-30 Grégoire Jadi <>
* net/rcirc.el (rcirc-buffer-process): Restore previous
behaviour. (Bug#17772)
2014-06-29 Alan Mackenzie <>
Don't call c-parse-state when c++-template-syntax-table is active.
......@@ -802,11 +802,11 @@ Function is called with PROCESS, COMMAND, SENDER, ARGS and LINE.")
(defun rcirc-buffer-process (&optional buffer)
"Return the process associated with channel BUFFER.
With no argument or nil as argument, use the current buffer."
(let ((buffer (or buffer (if (buffer-live-p rcirc-server-buffer)
(error "Server buffer deleted")))))
(or (with-current-buffer buffer rcirc-process)
(let ((buffer (or buffer (and (buffer-live-p rcirc-server-buffer)
(if buffer
(with-current-buffer buffer rcirc-process)
(defun rcirc-server-name (process)
"Return PROCESS server name, given by the 001 response."
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