summaryrefslogtreecommitdiff
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2004-04-14 18:59:10 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2004-04-14 18:59:10 +0000
commit1e328a982ce5d4409e5aa6f0f13b132d9c5f10b8 (patch)
treebd0fb203f05e0757e2cd8740860c174541aae1e5 /lisp/progmodes/python.el
parentf4e432bbf3cd4cbf89142983e124bb2dff132595 (diff)
downloademacs-1e328a982ce5d4409e5aa6f0f13b132d9c5f10b8.tar.gz
(python-mouse-2-command, python-RET-command): Remove unused functions.
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el27
1 files changed, 0 insertions, 27 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 36dc832347c..5ca1277a994 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -1129,33 +1129,6 @@ def _emacs_args (name): # get arglist of name for eldoc &c
print '_emacs_ok'"))
(unless noshow (pop-to-buffer (setq python-buffer "*Python*"))))
-(defun python-mouse-2-command (event)
- "Command bound to `mouse-2' in inferior Python buffer.
-Selects Comint or Compilation mode command as appropriate."
- (interactive "e")
- ;; This only works with the font-lock-based compilation mode.
- (call-interactively
- (lookup-key (if (save-window-excursion
- (save-excursion
- (mouse-set-point event)
- (consp (get-text-property (line-beginning-position)
- 'message))))
- compilation-mode-map
- comint-mode-map)
- [mouse-2])))
-
-(defun python-RET-command ()
- "Command bound to `RET' in inferior Python buffer.
-Selects Comint or Compilation mode command as appropriate."
- (interactive)
- ;; This only works with the font-lock-based compilation mode.
- (call-interactively
- (lookup-key (if (consp (get-text-property (line-beginning-position)
- 'message))
- compilation-mode-map
- comint-mode-map)
- "\C-m")))
-
(defun python-send-region (start end)
"Send the region to the inferior Python process."
;; The region is evaluated from a temporary file. This avoids