changeset 111505:62aa3653746a

* lisp/cedet/semantic/wisent/comp.el: Remove unnecessary eval-when-compiles.
author Glenn Morris <rgm@gnu.org>
date Thu, 11 Nov 2010 19:23:58 -0800
parents d16607216da9
children 5cb272c831e8 9248407310ef
files lisp/cedet/ChangeLog lisp/cedet/semantic/wisent/comp.el
diffstat 2 files changed, 7 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/cedet/ChangeLog	Thu Nov 11 19:21:38 2010 -0800
+++ b/lisp/cedet/ChangeLog	Thu Nov 11 19:23:58 2010 -0800
@@ -1,3 +1,7 @@
+2010-11-12  Glenn Morris  <rgm@gnu.org>
+
+	* semantic/wisent/comp.el: Remove unnecessary eval-when-compiles.
+
 2010-11-10  Glenn Morris  <rgm@gnu.org>
 
 	* semantic/bovine/c.el: Test system-type with memq.
--- a/lisp/cedet/semantic/wisent/comp.el	Thu Nov 11 19:21:38 2010 -0800
+++ b/lisp/cedet/semantic/wisent/comp.el	Thu Nov 11 19:23:58 2010 -0800
@@ -1,7 +1,8 @@
 ;;; semantic/wisent/comp.el --- GNU Bison for Emacs - Grammar compiler
 
 ;; Copyright (C) 1984, 1986, 1989, 1992, 1995, 2000, 2001, 2002, 2003,
-;; 2004, 2005, 2006, 2007, 2009, 2010 Free Software Foundation, Inc.
+;;   2004, 2005, 2006, 2007, 2009, 2010
+;;   Free Software Foundation, Inc.
 
 ;; Author: David Ponce <david@dponce.com>
 ;; Maintainer: David Ponce <david@dponce.com>
@@ -160,12 +161,6 @@
   (not (zerop (logand (aref x (/ i wisent-BITS-PER-WORD))
                       (lsh 1 (% i wisent-BITS-PER-WORD))))))
 
-(eval-when-compile
-  (or (fboundp 'noninteractive)
-      ;; Silence the Emacs byte compiler
-      (defun noninteractive nil))
-  )
-
 (defsubst wisent-noninteractive ()
   "Return non-nil if running without interactive terminal."
   (if (featurep 'xemacs)
@@ -205,7 +200,7 @@
   `(with-current-buffer (wisent-log-buffer)
      (erase-buffer)))
 
-(eval-when-compile (defvar byte-compile-current-file))
+(defvar byte-compile-current-file)
 
 (defun wisent-source ()
   "Return the current source file name or nil."
@@ -3536,5 +3531,4 @@
 
 (provide 'semantic/wisent/comp)
 
-;; arch-tag: 758ea04c-ea97-466b-9b35-aea0861033c9
 ;;; semantic/wisent/comp.el ends here