+2008-06-07 Glenn Morris <rgm@gnu.org>
+
+ * erc/erc-autoaway.el, erc/erc-ibuffer.el, erc/erc-menu.el:
+ * erc/erc-stamp.el, erc/erc.el: Remove unnecessary eval-when-compiles.
+
2008-05-05 Juanma Barranquero <lekktu@gmail.com>
* erc-goodies.el (erc-noncommands-list, noncommands)
;;; erc-autoaway.el --- Provides autoaway for ERC
-;; Copyright (C) 2002, 2003, 2004, 2006, 2007, 2008 Free Software Foundation, Inc.
+;; Copyright (C) 2002, 2003, 2004, 2006, 2007, 2008
+;; Free Software Foundation, Inc.
;; Author: Jorgen Schaefer <forcer@forcix.cx>
;; URL: http://www.emacswiki.org/cgi-bin/wiki.pl?ErcAutoAway
"Indicates whether this module was responsible for setting the
user's away status.")
-(eval-when-compile (defvar erc-autoaway-idle-seconds))
+(defvar erc-autoaway-idle-seconds)
(defun erc-autoaway-reestablish-idletimer ()
"Reestablish the Emacs idletimer.
;;; erc-ibuffer.el --- ibuffer integration with ERC
-;; Copyright (C) 2002, 2004, 2006, 2007, 2008 Free Software Foundation, Inc.
+;; Copyright (C) 2002, 2004, 2006, 2007, 2008
+;; Free Software Foundation, Inc.
;; Author: Mario Lang <mlang@delysid.org>
;; Keywords: comm
erc-session-server)))))
;; Silence the byte-compiler
-(eval-when-compile
- (defvar erc-modified-channels-alist))
+(defvar erc-modified-channels-alist)
(define-ibuffer-column erc-modified (:name "M")
(if (and (boundp 'erc-track-mode)
;; erc-menu.el -- Menu-bar definitions for ERC
-;; Copyright (C) 2001, 2002, 2004, 2005, 2006,
-;; 2007, 2008 Free Software Foundation, Inc.
+;; Copyright (C) 2001, 2002, 2004, 2005, 2006, 2007,
+;; 2008 Free Software Foundation, Inc.
;; Author: Mario Lang <mlang@delysid.org>
;; Keywords: comm, processes, menu
(message "You might have to restart Emacs to remove the ERC menu"))))
;; silence byte-compiler warning
-(eval-when-compile
- (defvar erc-menu nil))
+(defvar erc-menu)
(defun erc-menu-add ()
"Add the ERC menu to the current buffer."
;;; erc-stamp.el --- Timestamping for ERC messages
-;; Copyright (C) 2002, 2003, 2004, 2006, 2007, 2008 Free Software Foundation, Inc.
+;; Copyright (C) 2002, 2003, 2004, 2006, 2007, 2008
+;; Free Software Foundation, Inc.
;; Author: Mario Lang <mlang@delysid.org>
;; Keywords: comm, processes, timestamp
(insert string))
;; Silence byte-compiler
-(eval-when-compile
- (defvar erc-fill-column))
+(defvar erc-fill-column)
(defun erc-insert-timestamp-right (string)
"Insert timestamp on the right side of the screen.
t)
(put 'erc-cmd-SERVER 'process-not-needed t)
-(eval-when-compile
- (defvar motif-version-string)
- (defvar gtk-version-string))
+(defvar motif-version-string)
+(defvar gtk-version-string)
(defun erc-cmd-SV ()
"Say the current ERC and Emacs version into channel."