From 87242465b7d6ee9d44b63367c99b80b4bd194778 Mon Sep 17 00:00:00 2001 From: Konstantin Kharlamov Date: Sun, 28 Jan 2024 01:27:08 +0300 Subject: [PATCH] prog-mode: fix "docstring too wide" warning in .yas-setup.el Fixes a warning:: snippets/prog-mode/.yas-setup.el:32:2: Warning: docstring wider than 80 characters --- snippets/prog-mode/.yas-setup.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/snippets/prog-mode/.yas-setup.el b/snippets/prog-mode/.yas-setup.el index 486ae471b..ee052119c 100644 --- a/snippets/prog-mode/.yas-setup.el +++ b/snippets/prog-mode/.yas-setup.el @@ -29,8 +29,9 @@ (yas-s-trim comment-start)) (defun yas-trimmed-comment-end () - "This function returns `comment-end' trimmed by whitespaces if `comment-end' is not empty. -Otherwise the reversed output of function `yas-trimmed-comment-start' is returned." + "This function returns `comment-end' trimmed by whitespaces if +`comment-end' is not empty. Otherwise the reversed output of +function `yas-trimmed-comment-start' is returned." (if (eq (length comment-end) 0) (yas-string-reverse (yas-trimmed-comment-start)) (yas-s-trim comment-end)))