[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: small rcirc suggestion

From: Nic James Ferrier
Subject: Re: small rcirc suggestion
Date: Fri, 17 Nov 2006 10:51:26 +0000


I sent a patch to my own patch and it was very wrong.

Here's another patch - done right this time:

--- src/emacs-snapshot-20061111/lisp/net/rcirc.el       2006-09-12 
23:05:57.000000000 +0100
+++ rcirc.el    2006-11-15 12:59:10.000000000 +0000
@@ -319,13 +319,15 @@
 (defconst rcirc-id-string (concat "rcirc on GNU Emacs " emacs-version))
 (defvar rcirc-startup-channels nil)
+(defvar rcirc-server-history nil)
 (defun rcirc (arg)
   "Connect to IRC.
 If ARG is non-nil, prompt for a server to connect to."
   (interactive "P")
   (if arg
-      (let* ((server (read-string "IRC Server: " rcirc-default-server))
+      (let* ((server (read-string "IRC Server: " rcirc-default-server 
'rcirc-server-history rcirc-default-server))
             (port (read-string "IRC Port: " (number-to-string 
             (nick (read-string "IRC Nick: " rcirc-default-nick))
             (channels (split-string

Sorry for any confusion and thanks to rms for reading my original
patch closely.

Nic Ferrier
http://www.tapsellferrier.co.uk   for all your tapsell ferrier needs

reply via email to

[Prev in Thread] Current Thread [Next in Thread]