# HG changeset patch # User Stefan Monnier # Date 1084203121 0 # Node ID 4e81c5df6c36d8cec893e806176227ee15ba8d12 # Parent 510785c43ed01a49d1afa643036d1224bfad573b (inferior-python-mode-map): Remove erroneous C-c C-z binding. diff -r 510785c43ed0 -r 4e81c5df6c36 lisp/progmodes/python.el --- a/lisp/progmodes/python.el Mon May 10 12:58:20 2004 +0000 +++ b/lisp/progmodes/python.el Mon May 10 15:32:01 2004 +0000 @@ -297,10 +297,9 @@ (syntax-ppss (line-beginning-position))))))) (defun python-comment-line-p () - "Return non-nil if current line has only a comment or is blank." + "Return non-nil iff current line has only a comment." (save-excursion (end-of-line) - ;; FIXME: This looks wrong because it returns nil for empty lines. --Stef (when (eq 'comment (syntax-ppss-context (syntax-ppss))) (back-to-indentation) (looking-at (rx (or (syntax comment-start) line-end)))))) @@ -1025,7 +1024,6 @@ (let ((map (make-sparse-keymap))) ;; This will inherit from comint-mode-map. (define-key map "\C-c\C-l" 'python-load-file) - (define-key map "\C-c\C-z" 'python-switch-to-python) ;What for? --Stef (define-key map "\C-c\C-v" 'python-check) ;; Note that we _can_ still use these commands which send to the ;; Python process even at the prompt iff we have a normal prompt,