org-irc port number fix

This commit is contained in:
Phil Jackson 2008-03-10 20:56:54 +00:00
parent dd68f4a445
commit dcb2264321
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-03-10 Phil Jackson <phil@shellarchive.co.uk>
* org-irc.el (org-irc-get-erc-link): port now converted to a
string when building the link.
2008-03-10 Carsten Dominik <dominik@science.uva.nl>
* org-publish.el (org-publish-get-files): Protect against empty p.

View File

@ -174,7 +174,7 @@ the session itself."
(defun org-irc-get-erc-link ()
"Return an org compatible irc:/ link from an ERC buffer"
(let ((link (concat erc-server-announced-name ":"
erc-session-port)))
(number-to-string erc-session-port))))
(concat link "/"
(if (and (erc-default-target)
(erc-channel-p (erc-default-target))