Commit 07da87e9 authored by Glenn Morris's avatar Glenn Morris

Remove unnecessary eval-when-compiles.

parent 8705576e
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
......@@ -45,7 +46,7 @@ This is only used when `erc-autoaway-idle-method' is set to 'emacs.")
"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
......@@ -70,8 +71,7 @@
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
......@@ -129,8 +129,7 @@ ERC menu yet.")
(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
......@@ -263,8 +264,7 @@ property to get to the POSth column."
(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.
......
......@@ -3367,9 +3367,8 @@ the message given by REASON."
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."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment