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-below))
|
||||
(insert "\"\"\"")
|
||||
(open-line-below)
|
||||
(insert "\"\"\"")
|
||||
(open-line-above)))
|
||||
(let ((point-pos (point)))
|
||||
(open-line-below)
|
||||
(insert "\"\"\"\n")
|
||||
(goto-char point-pos))))
|
||||
#+END_SRC
|
||||
|
||||
** ~idm~ (ID manager) related functions
|
||||
|
Loading…
Reference in New Issue
Block a user