emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#27487: closed ([PATCH] Associate .pyi with python-


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#27487: closed ([PATCH] Associate .pyi with python-mode)
Date: Wed, 05 Jul 2017 19:23:01 +0000

Your message dated Wed, 05 Jul 2017 15:22:30 -0400
with message-id <address@hidden>
and subject line Re: bug#27487: [PATCH] Associate .pyi with python-mode
has caused the debbugs.gnu.org bug report #27487,
regarding [PATCH] Associate .pyi with python-mode
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
27487: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27487
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] Associate .pyi with python-mode Date: Sun, 25 Jun 2017 09:46:02 +0300
https://www.python.org/dev/peps/pep-0484/#id43

* lisp/progmodes/python.el (auto-mode-alist): Add .pyi.
---
 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))
 
-- 
2.9.4




--- End Message ---
--- Begin Message --- Subject: Re: bug#27487: [PATCH] Associate .pyi with python-mode Date: Wed, 05 Jul 2017 15:22:30 -0400 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
Version: 26.1

Thanks; done in 94b2e1f.



--- End Message ---

reply via email to

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