Commit ddc3fca4 authored by Kelvin White's avatar Kelvin White

* lisp/erc/erc.el: rename server buffers and fix variable names

parent 7aa06c9c
2014-08-07 Kelvin White <>
* erc.el (erc-channel-receive-names): Fix variable names
(erc-format-target-and/or-network): Rename server-buffers to
network name if possible
2014-07-08 Stefan Monnier <>
* erc.el (erc-channel-receive-names): Reduce redundancy.
2014-06-19 Kelvin White <>
2014-06-19 Kelvin White <>
* erc-backend.el: Handle user modes in relevant server responses
* erc.el: Better user mode support.
......@@ -4783,10 +4783,10 @@ channel."
(setq name (substring item 1))
(setf (pcase (aref item 0)
((pred (eq voice-ch)) voice)
((pred (eq hop-ch)) hop)
((pred (eq hop-ch)) halfop)
((pred (eq op-ch)) op)
((pred (eq adm-ch)) adm)
((pred (eq own-ch)) own))
((pred (eq adm-ch)) admin)
((pred (eq own-ch)) owner))
(when updatep
(puthash (erc-downcase name) t
......@@ -6233,7 +6233,10 @@ shortened server name instead."
(cond ((erc-default-target)
(concat (erc-string-no-properties (erc-default-target))
"@" network-name))
(network-name network-name)
((and network-name
(not (string-equal network-name (buffer-name))))
(rename-buffer network-name)
(t (buffer-name (current-buffer))))))
(defun erc-format-away-status ()
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