erc-commit
[Top][All Lists]
Advanced

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

[Erc-commit] [commit][emacs22] Fix bug introduced in last patch


From: mwolson
Subject: [Erc-commit] [commit][emacs22] Fix bug introduced in last patch
Date: Sun, 14 Oct 2007 00:48:43 -0400

commit a1f302f80d5344e466307469759748508f7e25bc
Author: Michael Olson <address@hidden>
Date:   Sun Jan 21 23:32:29 2007 +0000

    Fix bug introduced in last patch
    
    * erc.el (erc-header-line-format): Fix bug that caused ERC not to load
      properly.  The customize interface needs to be less fragile!
    git-archimport-id: address@hidden/erc--main--0--patch-96

diff --git a/erc.el b/erc.el
index 9ff164d..9721839 100644
--- a/erc.el
+++ b/erc.el
@@ -5720,9 +5720,10 @@ displayed.
 
 See `erc-mode-line-format' for which characters are can be used."
   :group 'erc-mode-line-and-header
-  :set #'(lambda (sym val)
-          (set sym val)
-          (erc-update-mode-line nil))
+  :set (lambda (sym val)
+        (set sym val)
+        (when (fboundp 'erc-update-mode-line)
+          (erc-update-mode-line nil)))
   :type '(choice (const :tag "Disabled" nil)
                 string))
 




reply via email to

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