mirror of https://github.com/nealey/rcirc
Update rcirc-channel-p to RFC 2811
This commit is contained in:
parent
0a9e78132c
commit
126c060732
3
rcirc.el
3
rcirc.el
|
@ -1031,8 +1031,7 @@ If ALL is non-nil, update prompts in all IRC buffers."
|
||||||
"Return t if TARGET is a channel name."
|
"Return t if TARGET is a channel name."
|
||||||
(and target
|
(and target
|
||||||
(not (zerop (length target)))
|
(not (zerop (length target)))
|
||||||
(or (eq (aref target 0) ?#)
|
(or (member (aref target 0) '(?# ?& ?+ ?!)))))
|
||||||
(eq (aref target 0) ?&))))
|
|
||||||
|
|
||||||
(defun rcirc-kill-buffer-hook ()
|
(defun rcirc-kill-buffer-hook ()
|
||||||
"Part the channel when killing an rcirc buffer."
|
"Part the channel when killing an rcirc buffer."
|
||||||
|
|
Loading…
Reference in New Issue