From: Glenn Morris Date: Fri, 12 Nov 2010 03:23:58 +0000 (-0800) Subject: * lisp/cedet/semantic/wisent/comp.el: Remove unnecessary eval-when-compiles. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~45^2~278 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=df26e1f58a7e484b7ed500ea48d0e1c49345ffbf;p=emacs.git * lisp/cedet/semantic/wisent/comp.el: Remove unnecessary eval-when-compiles. --- diff --git a/lisp/cedet/ChangeLog b/lisp/cedet/ChangeLog index 8f5daf1ea22..efe7e4d4255 100644 --- a/lisp/cedet/ChangeLog +++ b/lisp/cedet/ChangeLog @@ -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 --git a/lisp/cedet/semantic/wisent/comp.el b/lisp/cedet/semantic/wisent/comp.el index 371a1947304..90585399b74 100644 --- a/lisp/cedet/semantic/wisent/comp.el +++ b/lisp/cedet/semantic/wisent/comp.el @@ -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 @@ If optional LEFT is non-nil insert spaces on left." (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 @@ Its name is defined in constant `wisent-log-buffer-name'." `(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 @@ See also `wisent-compile-grammar' for more details on AUTOMATON." (provide 'semantic/wisent/comp) -;; arch-tag: 758ea04c-ea97-466b-9b35-aea0861033c9 ;;; semantic/wisent/comp.el ends here