erc-commit
[Top][All Lists]
Advanced

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

[Erc-commit] [commit][emacs22] Move to end of buffer on continued sessio


From: mwolson
Subject: [Erc-commit] [commit][emacs22] Move to end of buffer on continued session.
Date: Sun, 14 Oct 2007 00:48:02 -0400

commit 9fc7827ab9d40e94db386be73b54b79ab0ee8a31
Author: Michael Olson <address@hidden>
Date:   Wed Feb 15 05:09:18 2006 +0000

    Move to end of buffer on continued session.
    
    * erc.el (erc): Move to the end of the buffer when a continued session is
      detected.  Thanks to e1f and indio for the report and testing a
      potential fix.
    git-archimport-id: address@hidden/erc--cvs--0--patch-119

diff --git a/ChangeLog b/ChangeLog
index 9ea9e6a..71b877d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-02-15  Michael Olson  <address@hidden>
+
+       * erc.el (erc): Move to the end of the buffer when a continued
+       session is detected.  Thanks to e1f and indio for the report and
+       testing a potential fix.
+
 2006-02-14  Michael Olson  <address@hidden>
 
        * debian/changelog: Prepare a new Debian package.
diff --git a/erc.el b/erc.el
index a5970d1..7aefb6e 100644
--- a/erc.el
+++ b/erc.el
@@ -1934,7 +1934,8 @@ Returns the buffer for the given server or channel."
       (goto-char (point-max))
       (insert "\n"))
     (set-marker (process-mark erc-server-process) (point))
-    (unless continued-session
+    (if continued-session
+       (goto-char (point-max))
       (set-marker erc-insert-marker (point))
       (erc-display-prompt)
       (goto-char (point-max)))




reply via email to

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