Make Python docstring insertion a bit easier
Now point is placed between the triple quotes, and an empty line is added after the docstring block.
This commit is contained in:
parent
0d4169bf02
commit
86f5ad6cf8
@ -783,9 +783,10 @@ to the beginning of the file."
|
|||||||
(open-line-above)
|
(open-line-above)
|
||||||
(open-line-below))
|
(open-line-below))
|
||||||
(insert "\"\"\"")
|
(insert "\"\"\"")
|
||||||
(open-line-below)
|
(let ((point-pos (point)))
|
||||||
(insert "\"\"\"")
|
(open-line-below)
|
||||||
(open-line-above)))
|
(insert "\"\"\"\n")
|
||||||
|
(goto-char point-pos))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** ~idm~ (ID manager) related functions
|
** ~idm~ (ID manager) related functions
|
||||||
|
Loading…
Reference in New Issue
Block a user