File: python-completion-ignored-extensions.diff

package info (click to toggle)
emacs21 21.4a%2B1-3etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 59,104 kB
  • ctags: 58,909
  • sloc: lisp: 493,229; ansic: 237,175; xml: 4,262; sh: 4,109; makefile: 2,479; perl: 1,069; cs: 776; asm: 254; csh: 9; sed: 4
file content (23 lines) | stat: -rw-r--r-- 957 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
* Emacs now ignores python byte-compiled files by default.
  Patch: python-completion-ignored-extensions.diff
  Added-by: Jerome Marant <jerome@debian.org>
  Date: Sun,  6 Jun 2004 14:18:42 +0200
  Status: has been incorporated upstream

  The completion-ignored-extensions variable now includes the
  extensions for Python byte-compiled files.

diff -urNad /home/jerome/pkg/emacs21/svn/emacs21/lisp/bindings.el emacs21/lisp/bindings.el
--- /home/jerome/pkg/emacs21/svn/emacs21/lisp/bindings.el	2004-06-06 14:10:54.000000000 +0200
+++ emacs21/lisp/bindings.el	2004-06-06 14:10:54.000000000 +0200
@@ -446,7 +446,9 @@
 	 ;; Texinfo-related
 	 ".toc" ".log" ".aux"
 	 ".cp" ".fn" ".ky" ".pg" ".tp" ".vr"
-	 ".cps" ".fns" ".kys" ".pgs" ".tps" ".vrs")))
+	 ".cps" ".fns" ".kys" ".pgs" ".tps" ".vrs"
+	 ;; Python byte-compiled
+	 ".pyc" ".pyo")))
 
 ;; Packages should add to this list appropriately when they are
 ;; loaded, rather than listing everything here.