From c5803bd730ef156328d78b7385bb1671c2927168 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 19 Jun 2013 16:29:09 -0400 Subject: [PATCH] * lisp/cedet/semantic/idle.el (define-semantic-idle-service): No need to use eval-and-compile, progn will do. (eval-and-compile ends up causing spurious warnings.) --- lisp/cedet/ChangeLog | 5 ++++- lisp/cedet/semantic/idle.el | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lisp/cedet/ChangeLog b/lisp/cedet/ChangeLog index dca0aa9cb9..30d516f778 100644 --- a/lisp/cedet/ChangeLog +++ b/lisp/cedet/ChangeLog @@ -1,4 +1,7 @@ -2013-06-19 Glenn Morris +2013-06-19 Glenn Morris + + * semantic/idle.el (define-semantic-idle-service): + No need to use eval-and-compile, progn will do. * semantic/decorate/mode.el (define-semantic-decoration-style): Doc fix. diff --git a/lisp/cedet/semantic/idle.el b/lisp/cedet/semantic/idle.el index 6c223c2b9f..d024e5d823 100644 --- a/lisp/cedet/semantic/idle.el +++ b/lisp/cedet/semantic/idle.el @@ -578,7 +578,7 @@ This routine creates the following functions and variables:" (setup (intern (concat (symbol-name name) "-mode-setup"))) (func (intern (concat (symbol-name name) "-idle-function")))) - `(eval-and-compile + `(progn (define-minor-mode ,global ,(concat "Toggle " (symbol-name global) ". With ARG, turn the minor mode on if ARG is positive, off otherwise. -- 2.39.2