changeset 95630:eebbd7f32937

Remove unnecessary eval-when-compiles and eval-and-compiles.
author Glenn Morris <rgm@gnu.org>
date Sat, 07 Jun 2008 02:44:10 +0000
parents 470520f9b596
children 9a74acbaf005
files lisp/ediff-merg.el lisp/strokes.el lisp/wid-edit.el
diffstat 3 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ediff-merg.el	Sat Jun 07 02:42:43 2008 +0000
+++ b/lisp/ediff-merg.el	Sat Jun 07 02:44:10 2008 +0000
@@ -352,7 +352,7 @@
 	(reverse delim-regs-list)
 	)))
 
-(eval-when-compile (defvar state-of-merge)) ; dynamic var
+(defvar state-of-merge)			; dynamic var
 
 ;; Check if the non-preferred merge has been modified since originally set.
 ;; This affects only the regions that are marked as default-A/B or combined.
--- a/lisp/strokes.el	Sat Jun 07 02:42:43 2008 +0000
+++ b/lisp/strokes.el	Sat Jun 07 02:44:10 2008 +0000
@@ -1311,7 +1311,7 @@
 ;;;;;###autoload
 ;;(defalias 'edit-strokes 'strokes-edit-strokes)
 
-(eval-when-compile (defvar view-mode-map))
+(defvar view-mode-map)
 
 ;;;###autoload
 (defun strokes-list-strokes (&optional chronological strokes-map)
--- a/lisp/wid-edit.el	Sat Jun 07 02:42:43 2008 +0000
+++ b/lisp/wid-edit.el	Sat Jun 07 02:44:10 2008 +0000
@@ -1,7 +1,7 @@
 ;;; wid-edit.el --- Functions for creating and using widgets -*-byte-compile-dynamic: t;-*-
 ;;
-;; Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003,
-;;   2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+;; Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
+;;   2006, 2007, 2008  Free Software Foundation, Inc.
 ;;
 ;; Author: Per Abrahamsen <abraham@dina.kvl.dk>
 ;; Maintainer: FSF
@@ -3024,7 +3024,7 @@
   :complete-function 'ispell-complete-word
   :prompt-history 'widget-string-prompt-value-history)
 
-(eval-when-compile (defvar widget))
+(defvar widget)
 
 (defun widget-string-complete ()
   "Complete contents of string field.