diff options
author | Glenn Morris <rgm@gnu.org> | 2010-11-11 19:23:58 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2010-11-11 19:23:58 -0800 |
commit | df26e1f58a7e484b7ed500ea48d0e1c49345ffbf (patch) | |
tree | cf10e13b5b4e344067ec0a28453e614c916f2227 /lisp/cedet | |
parent | 7847454adc4388578113b4237e99fae4d0775b43 (diff) | |
download | emacs-df26e1f58a7e484b7ed500ea48d0e1c49345ffbf.tar.gz |
* lisp/cedet/semantic/wisent/comp.el: Remove unnecessary eval-when-compiles.
Diffstat (limited to 'lisp/cedet')
-rw-r--r-- | lisp/cedet/ChangeLog | 4 | ||||
-rw-r--r-- | lisp/cedet/semantic/wisent/comp.el | 12 |
2 files changed, 7 insertions, 9 deletions
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 <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. 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 <david@dponce.com> ;; Maintainer: David Ponce <david@dponce.com> @@ -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 |