mirror of
https://github.com/vale981/py-vterm-interaction.el
synced 2025-03-04 09:31:40 -05:00
fix over-long docstring formatting
This commit is contained in:
parent
bab69eb5ce
commit
3a599b20bb
1 changed files with 4 additions and 2 deletions
|
@ -494,7 +494,8 @@ script buffer."
|
|||
(concat str (if (string= (substring str -1 nil) "\n") "" "\n")))
|
||||
|
||||
(defun py-vterm-interaction-send-region-or-current-line ()
|
||||
"Send the content of the region if the region is active, or send the current line."
|
||||
"Send the content of the region if the region is active.
|
||||
Otherwise, send the current line."
|
||||
(interactive)
|
||||
(if (use-region-p)
|
||||
(let ((str (buffer-substring-no-properties (region-beginning) (region-end))))
|
||||
|
@ -596,7 +597,8 @@ If the function has no arguments, the function call is run immediately."
|
|||
(defun py-vterm-interaction-send-run-buffer-file ()
|
||||
"Run the current buffer file in the python vterm buffer.
|
||||
|
||||
This is equivalent to running `%run -i <buffer-file-name>` in the python vterm buffer."
|
||||
This is equivalent to running `%run -i <buffer-file-name>` in the
|
||||
python vterm buffer."
|
||||
(interactive)
|
||||
(let ((file buffer-file-name)
|
||||
(py-vterm-interaction-paste-with-return t))
|
||||
|
|
Loading…
Add table
Reference in a new issue