emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 94b2e1f: * lisp/progmodes/python.el (auto-mode-alis


From: Glenn Morris
Subject: [Emacs-diffs] master 94b2e1f: * lisp/progmodes/python.el (auto-mode-alist): Add .pyi. (Bug#27847)
Date: Wed, 5 Jul 2017 15:22:03 -0400 (EDT)

branch: master
commit 94b2e1fc00f90b4072b4a998caf2054c540b7ac4
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    * lisp/progmodes/python.el (auto-mode-alist): Add .pyi.  (Bug#27847)
---
 lisp/progmodes/python.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 464b931..6f16912 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -273,7 +273,7 @@
 (autoload 'help-function-arglist "help-fns")
 
 ;;;###autoload
-(add-to-list 'auto-mode-alist (cons (purecopy "\\.pyw?\\'")  'python-mode))
+(add-to-list 'auto-mode-alist (cons (purecopy "\\.py[iw]?\\'") 'python-mode))
 ;;;###autoload
 (add-to-list 'interpreter-mode-alist (cons (purecopy "python[0-9.]*") 
'python-mode))
 



reply via email to

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