emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scratch/no-purespace 7024c66123e: Fix a typo which caused test failures


From: Pip Cet
Subject: scratch/no-purespace 7024c66123e: Fix a typo which caused test failures
Date: Sat, 14 Dec 2024 10:55:58 -0500 (EST)

branch: scratch/no-purespace
commit 7024c66123e56501fd409a9b59522fceb5ce8cfd
Author: Pip Cet <pipcet@protonmail.com>
Commit: Pip Cet <pipcet@protonmail.com>

    Fix a typo which caused test failures
    
    * lisp/progmodes/python.el (interpreter-mode-alist):
    * lisp/progmodes/vera-mode.el (interpreter-mode-alist): Fix typo.
---
 lisp/progmodes/python.el    | 2 +-
 lisp/progmodes/vera-mode.el | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index cdc1f267ea3..253568119f2 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -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."
diff --git a/lisp/progmodes/vera-mode.el b/lisp/progmodes/vera-mode.el
index b3002127ff1..6897ae34805 100644
--- a/lisp/progmodes/vera-mode.el
+++ b/lisp/progmodes/vera-mode.el
@@ -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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]