70 |
(autoload 'compilation-start "compile") |
(autoload 'compilation-start "compile") |
71 |
|
|
72 |
(defgroup python nil |
(defgroup python nil |
73 |
"Silly walks in the Python language" |
"Silly walks in the Python language." |
74 |
:group 'languages |
:group 'languages |
75 |
:version "22.1" |
:version "22.1" |
76 |
:link '(emacs-commentary-link "python")) |
:link '(emacs-commentary-link "python")) |
1067 |
;; Still required by `comint-redirect-send-command', for instance |
;; Still required by `comint-redirect-send-command', for instance |
1068 |
;; (and we need to match things like `>>> ... >>> '): |
;; (and we need to match things like `>>> ... >>> '): |
1069 |
(set (make-local-variable 'comint-prompt-regexp) |
(set (make-local-variable 'comint-prompt-regexp) |
1070 |
(rx (and line-start (1+ (and (repeat 3 (any ">.")) ?\ ))))) |
(rx (and line-start (1+ (and (repeat 3 (any ">.")) ?\s))))) |
1071 |
(set (make-local-variable 'compilation-error-regexp-alist) |
(set (make-local-variable 'compilation-error-regexp-alist) |
1072 |
python-compilation-regexp-alist) |
python-compilation-regexp-alist) |
1073 |
(compilation-shell-minor-mode 1)) |
(compilation-shell-minor-mode 1)) |