* lisp/cedet/semantic/idle.el (define-semantic-idle-service):
authorGlenn Morris <rgm@gnu.org>
Wed, 19 Jun 2013 20:29:09 +0000 (16:29 -0400)
committerGlenn Morris <rgm@gnu.org>
Wed, 19 Jun 2013 20:29:09 +0000 (16:29 -0400)
No need to use eval-and-compile, progn will do.
(eval-and-compile ends up causing spurious warnings.)

lisp/cedet/ChangeLog
lisp/cedet/semantic/idle.el

index dca0aa9..30d516f 100644 (file)
@@ -1,4 +1,7 @@
-2013-06-19  Glenn Morris  <rgm@gnu.org>
+2013-06-19  Glenn Morris  <rgm@fencepost.gnu.org>
+
+       * 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.
index 6c223c2..d024e5d 100644 (file)
@@ -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.