From 3a599b20bbc3f38b59f1b09443a3bf52a7c8e1a4 Mon Sep 17 00:00:00 2001 From: Valentin Boettcher Date: Sun, 15 Sep 2024 12:31:16 -0400 Subject: [PATCH] fix over-long docstring formatting --- py-vterm-interaction.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/py-vterm-interaction.el b/py-vterm-interaction.el index eba6868..7e633b6 100644 --- a/py-vterm-interaction.el +++ b/py-vterm-interaction.el @@ -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 ` in the python vterm buffer." +This is equivalent to running `%run -i ` in the +python vterm buffer." (interactive) (let ((file buffer-file-name) (py-vterm-interaction-paste-with-return t))