emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r110702: * lisp/erc/erc-backend.el: O


From: Stefan Monnier
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r110702: * lisp/erc/erc-backend.el: Only require `erc' during compilation.
Date: Sun, 28 Oct 2012 11:32:15 -0400
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 110702
fixes bug: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12486
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Sun 2012-10-28 11:32:15 -0400
message:
  * lisp/erc/erc-backend.el: Only require `erc' during compilation.
modified:
  lisp/erc/ChangeLog
  lisp/erc/erc-backend.el
=== modified file 'lisp/erc/ChangeLog'
--- a/lisp/erc/ChangeLog        2012-10-18 15:51:28 +0000
+++ b/lisp/erc/ChangeLog        2012-10-28 15:32:15 +0000
@@ -1,3 +1,7 @@
+2012-10-28  Stefan Monnier  <address@hidden>
+
+       * erc-backend.el: Only require `erc' during compilation (bug#12486).
+
 2012-10-18  Stefan Monnier  <address@hidden>
 
        * erc-backend.el: Require `erc' instead of autoloading its macros

=== modified file 'lisp/erc/erc-backend.el'
--- a/lisp/erc/erc-backend.el   2012-10-18 15:51:28 +0000
+++ b/lisp/erc/erc-backend.el   2012-10-28 15:32:15 +0000
@@ -102,8 +102,7 @@
 ;; There's a fairly strong mutual dependency between erc.el and erc-backend.el.
 ;; Luckily, erc.el does not need erc-backend.el for macroexpansion whereas the
 ;; reverse is true:
-(provide 'erc-backend)
-(require 'erc)
+(eval-when-compile (provide 'erc-backend) (require 'erc))
 
 ;;;; Variables and options
 


reply via email to

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