From 8867296609b353715f82e3bcca12f1dfe5469622 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fabi=C3=A1n=20Ezequiel=20Gallina?= Date: Mon, 6 Jul 2015 02:02:06 -0300 Subject: [PATCH] ; python.el: Replace `eval-when-compile` with `eval-and-compile` --- lisp/progmodes/python.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 0fe1aa97cd0..9c5c71db882 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -360,7 +360,7 @@ ;;; 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." ;;; Font-lock and syntax -(eval-when-compile +(eval-and-compile (defun python-syntax--context-compiler-macro (form type &optional syntax-ppss) (pcase type (`'comment -- 2.11.4.GIT