aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/python.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 7ded2c897a8..fbd6fdd4005 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -1269,7 +1269,7 @@ non-nil the buffer is shown."
1269 (current-buffer (current-buffer))) 1269 (current-buffer (current-buffer)))
1270 (with-current-buffer buffer 1270 (with-current-buffer buffer
1271 (inferior-python-mode) 1271 (inferior-python-mode)
1272 (python-clone-local-variables current-buffer)))) 1272 (python-util-clone-local-variables current-buffer))))
1273 (when pop 1273 (when pop
1274 (pop-to-buffer proc-buffer-name))))) 1274 (pop-to-buffer proc-buffer-name)))))
1275 1275
@@ -2443,7 +2443,7 @@ Return the index of the matching item, or nil if not found."
2443 (- (length seq) (length member-result))))) 2443 (- (length seq) (length member-result)))))
2444 2444
2445;; Stolen from org-mode 2445;; Stolen from org-mode
2446(defun python-clone-local-variables (from-buffer &optional regexp) 2446(defun python-util-clone-local-variables (from-buffer &optional regexp)
2447 "Clone local variables from FROM-BUFFER. 2447 "Clone local variables from FROM-BUFFER.
2448Optional argument REGEXP selects variables to clone and defaults 2448Optional argument REGEXP selects variables to clone and defaults
2449to \"^python-\"." 2449to \"^python-\"."