mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-05 22:20:24 -08:00
; Fix bootstrap (Bug#74490)
* lisp/progmodes/python.el (python--auto-mode-alist-regexp): Don't use rx in autoloaded variable, since it breaks bootstrap when copied to ldefs-boot.el. * lisp/ldefs-boot.el: Update.
This commit is contained in:
parent
30bcba27c8
commit
d4cb3b30f1
2 changed files with 10 additions and 8 deletions
|
|
@ -26407,7 +26407,7 @@ Optional argument FACE specifies the face to do the highlighting.
|
|||
;;; Generated autoloads from progmodes/python.el
|
||||
|
||||
(push (purecopy '(python 0 28)) package--builtin-versions)
|
||||
(defconst python--auto-mode-alist-regexp (rx (or (seq "." (or "py" "pth" "pyi" "pyw")) (seq "/" (or "SConstruct" "SConscript"))) eos))
|
||||
(defconst python--auto-mode-alist-regexp "\\(?:\\.\\(?:p\\(?:th\\|y[iw]?\\)\\)\\|/\\(?:SCons\\(?:\\(?:crip\\|truc\\)t\\)\\)\\)\\'")
|
||||
(add-to-list 'auto-mode-alist (cons python--auto-mode-alist-regexp 'python-mode))
|
||||
(add-to-list 'interpreter-mode-alist (cons (purecopy "python[0-9.]*") 'python-mode))
|
||||
(autoload 'run-python "python" "\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue