Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
567457e3
Commit
567457e3
authored
Sep 08, 2011
by
Leo Liu
Browse files
New rcirc command rcirc-cmd-invite
See:
http://debbugs.gnu.org/9453
parent
97f05794
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/net/rcirc.el
lisp/net/rcirc.el
+10
-0
No files found.
lisp/ChangeLog
View file @
567457e3
2011-09-08 Leo Liu <sdl.web@gmail.com>
* net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
2011-09-08 Juri Linkov <juri@jurta.org>
* progmodes/compile.el (compilation-environment): Make it
...
...
lisp/net/rcirc.el
View file @
567457e3
...
...
@@ -2141,6 +2141,16 @@ CHANNELS is a comma- or space-separated string of channel names."
(
dolist
(
b
buffers
)
;; order the new channel buffers in the buffer list
(
switch-to-buffer
b
)))))
(
defun-rcirc-command
invite
(
nick-channel
)
"Invite NICK to CHANNEL."
(
interactive
(
list
(
concat
(
completing-read
"Invite nick: "
(
with-rcirc-server-buffer
rcirc-nick-table
))
" "
(
read-string
"Channel: "
))))
(
rcirc-send-string
process
(
concat
"INVITE "
nick-channel
)))
;; TODO: /part #channel reason, or consider removing #channel altogether
(
defun-rcirc-command
part
(
channel
)
"Part CHANNEL."
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment