Mercurial > emacs
comparison lisp/progmodes/python.el @ 64049:69990675200d
(python): Finish `defgroup' description with period.
(inferior-python-mode): "?\ " -> "?\s".
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Mon, 04 Jul 2005 03:20:48 +0000 |
parents | 1962e8146bf4 |
children | 18a818a2ee7c |
comparison
equal
deleted
inserted
replaced
64048:6182d0adade2 | 64049:69990675200d |
---|---|
68 (require 'compile) | 68 (require 'compile) |
69 (autoload 'info-lookup-maybe-add-help "info-look")) | 69 (autoload 'info-lookup-maybe-add-help "info-look")) |
70 (autoload 'compilation-start "compile") | 70 (autoload 'compilation-start "compile") |
71 | 71 |
72 (defgroup python nil | 72 (defgroup python nil |
73 "Silly walks in the Python language" | 73 "Silly walks in the Python language." |
74 :group 'languages | 74 :group 'languages |
75 :version "22.1" | 75 :version "22.1" |
76 :link '(emacs-commentary-link "python")) | 76 :link '(emacs-commentary-link "python")) |
77 | 77 |
78 ;;;###autoload | 78 ;;;###autoload |
1065 (add-hook 'comint-preoutput-filter-functions #'python-preoutput-filter | 1065 (add-hook 'comint-preoutput-filter-functions #'python-preoutput-filter |
1066 nil t) | 1066 nil t) |
1067 ;; Still required by `comint-redirect-send-command', for instance | 1067 ;; Still required by `comint-redirect-send-command', for instance |
1068 ;; (and we need to match things like `>>> ... >>> '): | 1068 ;; (and we need to match things like `>>> ... >>> '): |
1069 (set (make-local-variable 'comint-prompt-regexp) | 1069 (set (make-local-variable 'comint-prompt-regexp) |
1070 (rx (and line-start (1+ (and (repeat 3 (any ">.")) ?\ ))))) | 1070 (rx (and line-start (1+ (and (repeat 3 (any ">.")) ?\s))))) |
1071 (set (make-local-variable 'compilation-error-regexp-alist) | 1071 (set (make-local-variable 'compilation-error-regexp-alist) |
1072 python-compilation-regexp-alist) | 1072 python-compilation-regexp-alist) |
1073 (compilation-shell-minor-mode 1)) | 1073 (compilation-shell-minor-mode 1)) |
1074 | 1074 |
1075 (defcustom inferior-python-filter-regexp "\\`\\s-*\\S-?\\S-?\\s-*\\'" | 1075 (defcustom inferior-python-filter-regexp "\\`\\s-*\\S-?\\S-?\\s-*\\'" |