Commit 88672966 authored by Fabián Ezequiel Gallina's avatar Fabián Ezequiel Gallina
Browse files

; python.el: Replace `eval-when-compile` with `eval-and-compile`

parent 02dc8dac
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment