]> git.eshelyaron.com Git - emacs.git/commitdiff
; python.el: Replace `eval-when-compile` with `eval-and-compile`
authorFabián Ezequiel Gallina <fgallina@gnu.org>
Mon, 6 Jul 2015 05:02:06 +0000 (02:02 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Mon, 6 Jul 2015 05:02:06 +0000 (02:02 -0300)
lisp/progmodes/python.el

index 0fe1aa97cd0a4c97e2c55aff9edf59b49f228064..9c5c71db8824bb4897b4a5e4f853b5d13b38ea7a 100644 (file)
 \f
 ;;; Python specialized rx
 
-(eval-when-compile
+(eval-and-compile
   (defconst python-rx-constituents
     `((block-start          . ,(rx symbol-start
                                    (or "def" "class" "if" "elif" "else" "try"
@@ -431,7 +431,7 @@ This variant of `rx' supports common Python named REGEXPS."
 \f
 ;;; Font-lock and syntax
 
-(eval-when-compile
+(eval-and-compile
   (defun python-syntax--context-compiler-macro (form type &optional syntax-ppss)
     (pcase type
       (`'comment