erc-commit
[Top][All Lists]
Advanced

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

[Erc-commit] [commit][emacs22] erc-log: Don't offer to save buffer; this


From: mwolson
Subject: [Erc-commit] [commit][emacs22] erc-log: Don't offer to save buffer; this happens automatically.
Date: Sun, 14 Oct 2007 00:48:21 -0400

commit 6f7da42f0c1288338275bd56a1a77dd54f7a99dd
Author: Michael Olson <address@hidden>
Date:   Sun Jul 30 02:43:09 2006 +0000

    erc-log: Don't offer to save buffer; this happens automatically.
    
    * erc-log.el (erc-log-setup-logging): Don't offer to save the buffer.  It
      will be saved automatically killed.  Thanks to Johan Bockgård and
      Tassilo Horn for pointing this out.
    git-archimport-id: address@hidden/erc--main--0--patch-25

diff --git a/erc-log.el b/erc-log.el
index 18b2e3b..78fab79 100644
--- a/erc-log.el
+++ b/erc-log.el
@@ -242,8 +242,7 @@ also be a predicate function. To only log when you are not 
set away, use:
 This function is destined to be run from `erc-connect-pre-hook'."
   (when (erc-logging-enabled)
     (auto-save-mode -1)
-    (setq buffer-offer-save t
-         buffer-file-name nil)
+    (setq buffer-file-name nil)
     (cond ((boundp 'write-file-functions)
           (set (make-local-variable 'write-file-functions)
                '(erc-save-buffer-in-logs)))




reply via email to

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