Fix a typo which caused test failures

* lisp/progmodes/python.el (interpreter-mode-alist):
* lisp/progmodes/vera-mode.el (interpreter-mode-alist): Fix typo.
This commit is contained in:
Pip Cet 2024-12-14 15:45:25 +00:00
parent 28dadb6f10
commit 7024c66123
2 changed files with 2 additions and 2 deletions

View file

@ -291,7 +291,7 @@
;;;###autoload
(add-to-list 'auto-mode-alist (cons python--auto-mode-alist-regexp 'python-mode))
;;;###autoload
(add-to-list 'interpreter-mode-alist '("python[0-9.]*" python-mode))
(add-to-list 'interpreter-mode-alist '("python[0-9.]*" . python-mode))
(defgroup python nil
"Python Language's flying circus support for Emacs."

View file

@ -208,7 +208,7 @@ If nil, TAB always indents current line."
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Mode definition
;;;###autoload (add-to-list 'auto-mode-alist '("\\.vr[hi]?\\'" vera-mode))
;;;###autoload (add-to-list 'auto-mode-alist '("\\.vr[hi]?\\'" . vera-mode))
;;;###autoload
(define-derived-mode vera-mode prog-mode "Vera"