* lisp/progmodes/python.el (python-rx-constituents): Fix ordering in or
The previous code worked earlier because of a bug in `rx` (which used `regexp-opt` without passing it to `keep-order` argument), but now that `rx` has been fixed the underlying bug here reared its ugly head.
This commit is contained in:
parent
9486d87cfe
commit
5feaf906e1
1 changed files with 1 additions and 1 deletions
|
@ -438,7 +438,7 @@ It returns a file name which can be used directly as argument of
|
|||
(* ?\\ ?\\) (any ?\' ?\")))
|
||||
(* ?\\ ?\\)
|
||||
;; Match single or triple quotes of any kind.
|
||||
(group (or "\"" "\"\"\"" "'" "'''")))))
|
||||
(group (or "\"\"\"" "\"" "'''" "'")))))
|
||||
(coding-cookie . ,(rx line-start ?# (* space)
|
||||
(or
|
||||
;; # coding=<encoding name>
|
||||
|
|
Loading…
Add table
Reference in a new issue