[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 8867296 2/2: ; python.el: Replace `eval-when-compil
From: |
Fabián Ezequiel Gallina |
Subject: |
[Emacs-diffs] master 8867296 2/2: ; python.el: Replace `eval-when-compile` with `eval-and-compile` |
Date: |
Mon, 06 Jul 2015 05:02:45 +0000 |
branch: master
commit 8867296609b353715f82e3bcca12f1dfe5469622
Author: Fabián Ezequiel Gallina <address@hidden>
Commit: Fabián Ezequiel Gallina <address@hidden>
; python.el: Replace `eval-when-compile` with `eval-and-compile`
---
lisp/progmodes/python.el | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 0fe1aa9..9c5c71d 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