Commit fbc39529 authored by Fabián Ezequiel Gallina's avatar Fabián Ezequiel Gallina Committed by Fabián Ezequiel Gallina
Browse files

Renamed python-clone-local-variables to python-util-clone-local-variables

parent d2190c57
...@@ -1269,7 +1269,7 @@ non-nil the buffer is shown." ...@@ -1269,7 +1269,7 @@ non-nil the buffer is shown."
(current-buffer (current-buffer))) (current-buffer (current-buffer)))
(with-current-buffer buffer (with-current-buffer buffer
(inferior-python-mode) (inferior-python-mode)
(python-clone-local-variables current-buffer)))) (python-util-clone-local-variables current-buffer))))
(when pop (when pop
(pop-to-buffer proc-buffer-name))))) (pop-to-buffer proc-buffer-name)))))
...@@ -2443,7 +2443,7 @@ Return the index of the matching item, or nil if not found." ...@@ -2443,7 +2443,7 @@ Return the index of the matching item, or nil if not found."
(- (length seq) (length member-result))))) (- (length seq) (length member-result)))))
;; Stolen from org-mode ;; Stolen from org-mode
(defun python-clone-local-variables (from-buffer &optional regexp) (defun python-util-clone-local-variables (from-buffer &optional regexp)
"Clone local variables from FROM-BUFFER. "Clone local variables from FROM-BUFFER.
Optional argument REGEXP selects variables to clone and defaults Optional argument REGEXP selects variables to clone and defaults
to \"^python-\"." to \"^python-\"."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment