Skip to content

Commit

Permalink
Merge pull request #27 from andorsk/docstring-fix
Browse files Browse the repository at this point in the history
fix warning about docstring > 80 character
  • Loading branch information
andorsk authored Dec 2, 2022
2 parents c62a238 + 4dcf7f0 commit 15564f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion d2-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@
nil))

(defun d2--locate-declaration (str)
"Locate a certain declaration and return the line difference and indentation. STR is the declaration."
"Locate a certain declaration and return the line
difference and indentation. STR is the declaration."
(let ((l (line-number-at-pos)))
(save-excursion
(if (re-search-backward str (point-min) t)
Expand Down

0 comments on commit 15564f7

Please sign in to comment.