changeset 95622:b4f1005a6470

Remove unnecessary eval-when-compiles.
author Glenn Morris <rgm@gnu.org>
date Sat, 07 Jun 2008 02:38:32 +0000
parents 3e8dd23c12aa
children 5358d3f9137d
files lisp/international/mule-cmds.el lisp/international/mule-diag.el
diffstat 2 files changed, 8 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/mule-cmds.el	Sat Jun 07 02:37:56 2008 +0000
+++ b/lisp/international/mule-cmds.el	Sat Jun 07 02:38:32 2008 +0000
@@ -1,7 +1,7 @@
 ;;; mule-cmds.el --- commands for multilingual environment -*-coding: iso-2022-7bit -*-
 
-;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
-;;   2006, 2007, 2008  Free Software Foundation, Inc.
+;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
+;;   2007, 2008  Free Software Foundation, Inc.
 ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
 ;;   2005, 2006, 2007, 2008
 ;;   National Institute of Advanced Industrial Science and Technology (AIST)
@@ -31,9 +31,8 @@
 
 ;;; Code:
 
-(eval-when-compile
-  (defvar dos-codepage)
-  (autoload 'widget-value "wid-edit"))
+(defvar dos-codepage)
+(autoload 'widget-value "wid-edit")
 
 (defvar mac-system-coding-system)
 (defvar mac-system-locale)
@@ -1507,7 +1506,7 @@
 	  (when interactive
 	    (customize-mark-as-set 'default-input-method)))))))
 
-(eval-when-compile (autoload 'help-buffer "help-mode"))
+(autoload 'help-buffer "help-mode")
 
 (defun describe-input-method (input-method)
   "Describe input method INPUT-METHOD."
--- a/lisp/international/mule-diag.el	Sat Jun 07 02:37:56 2008 +0000
+++ b/lisp/international/mule-diag.el	Sat Jun 07 02:38:32 2008 +0000
@@ -1,7 +1,7 @@
 ;;; mule-diag.el --- show diagnosis of multilingual environment (Mule)
 
-;; Copyright (C) 1997, 1998, 2000, 2001, 2002, 2003, 2004,
-;;   2005, 2006, 2007, 2008  Free Software Foundation, Inc.
+;; Copyright (C) 1997, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
+;;   2007, 2008  Free Software Foundation, Inc.
 ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
 ;;   2005, 2006, 2007, 2008
 ;;   National Institute of Advanced Industrial Science and Technology (AIST)
@@ -373,8 +373,7 @@
 
 ;;; CODING-SYSTEM
 
-(eval-when-compile			; dynamic bondage
-  (defvar graphic-register))
+(defvar graphic-register)		; dynamic bondage
 
 ;; Print information about designation of each graphic register in
 ;; DESIGNATIONS in human readable format.  See the documentation of