projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02dc8da
)
; python.el: Replace `eval-when-compile` with `eval-and-compile`
author
Fabián Ezequiel Gallina
<fgallina@gnu.org>
Mon, 6 Jul 2015 05:02:06 +0000
(
02:02
-0300)
committer
Fabián Ezequiel Gallina
<fgallina@gnu.org>
Mon, 6 Jul 2015 05:02:06 +0000
(
02:02
-0300)
lisp/progmodes/python.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/python.el
b/lisp/progmodes/python.el
index 0fe1aa97cd0a4c97e2c55aff9edf59b49f228064..9c5c71db8824bb4897b4a5e4f853b5d13b38ea7a 100644
(file)
--- a/
lisp/progmodes/python.el
+++ b/
lisp/progmodes/python.el
@@
-360,7
+360,7
@@
\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