Skip to content

Commit bab69eb

Browse files
committed
move variable declarations to the right place
1 parent e2ed9db commit bab69eb

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

py-vterm-interaction.el

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,13 @@ If in doubt, set this to :python.")
116116
:type 'number
117117
:group 'py-vterm-interaction-repl)
118118

119+
(defvar-local py-vterm-interaction-paste-with-return t
120+
"Whether to send a return key after pasting a string to the Python REPL.")
121+
122+
(defvar-local py-vterm-interaction-paste-with-clear t
123+
"Whether to clear the line before pasting a string to the Python REPL.")
124+
125+
119126
(defun py-vterm-interaction-repl-buffer-name (&optional session-name)
120127
"Return a Python REPL buffer name whose session name is SESSION-NAME.
121128
If SESSION-NAME is not given, the default session name `main' is assumed."
@@ -400,12 +407,6 @@ inferior Python process and the current active environment."
400407
:type 'hook
401408
:group 'py-vterm-interaction)
402409

403-
(defvar-local py-vterm-interaction-paste-with-return t
404-
"Whether to send a return key after pasting a string to the Python REPL.")
405-
406-
(defvar-local py-vterm-interaction-paste-with-clear t
407-
"Whether to clear the line before pasting a string to the Python REPL.")
408-
409410
(defvar-local py-vterm-interaction-fellow-repl-buffer nil)
410411
(defvar-local py-vterm-interaction-session nil)
411412
(defvar-local py-vterm-interaction-context nil)

0 commit comments

Comments
 (0)