comparison lisp/progmodes/python.el @ 87057:309e0523903f

(compilation-shell-minor-mode): Declare as a function.
author Glenn Morris <rgm@gnu.org>
date Wed, 05 Dec 2007 03:32:55 +0000
parents 3263b910f6df
children 8411562edbb6
comparison
equal deleted inserted replaced
87056:36f4a8006531 87057:309e0523903f
1221 (modify-syntax-entry ?\' "." st) 1221 (modify-syntax-entry ?\' "." st)
1222 ;; Maybe we should do the same for double quotes? 1222 ;; Maybe we should do the same for double quotes?
1223 ;; (modify-syntax-entry ?\" "." st) 1223 ;; (modify-syntax-entry ?\" "." st)
1224 st)) 1224 st))
1225 1225
1226 ;; Autoloaded.
1227 (declare-function compilation-shell-minor-mode "compile" (&optional arg))
1228
1226 ;; Fixme: This should inherit some stuff from `python-mode', but I'm 1229 ;; Fixme: This should inherit some stuff from `python-mode', but I'm
1227 ;; not sure how much: at least some keybindings, like C-c C-f; 1230 ;; not sure how much: at least some keybindings, like C-c C-f;
1228 ;; syntax?; font-locking, e.g. for triple-quoted strings? 1231 ;; syntax?; font-locking, e.g. for triple-quoted strings?
1229 (define-derived-mode inferior-python-mode comint-mode "Inferior Python" 1232 (define-derived-mode inferior-python-mode comint-mode "Inferior Python"
1230 "Major mode for interacting with an inferior Python process. 1233 "Major mode for interacting with an inferior Python process.