Skip to content

Commit

Permalink
fix over-long docstring formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
vale981 committed Sep 15, 2024
1 parent bab69eb commit 3a599b2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions py-vterm-interaction.el
Original file line number Diff line number Diff line change
Expand Up @@ -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))))
Expand Down Expand Up @@ -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))
Expand Down

0 comments on commit 3a599b2

Please sign in to comment.