# HG changeset patch # User Glenn Morris # Date 1289532238 28800 # Node ID 62aa3653746a8434e1f5b702535b2b56562a1446 # Parent d16607216da938ffeb41eddaef81691b2a7e38df * lisp/cedet/semantic/wisent/comp.el: Remove unnecessary eval-when-compiles. diff -r d16607216da9 -r 62aa3653746a lisp/cedet/ChangeLog --- 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 + + * semantic/wisent/comp.el: Remove unnecessary eval-when-compiles. + 2010-11-10 Glenn Morris * semantic/bovine/c.el: Test system-type with memq. diff -r d16607216da9 -r 62aa3653746a lisp/cedet/semantic/wisent/comp.el --- 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 ;; Maintainer: David Ponce @@ -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