added comments to the save-to-file

modified:   plantuml-mode.el
This commit is contained in:
vineethkartha 2019-01-16 07:21:54 +05:30
parent 5e6532b091
commit 638b53e160
1 changed files with 4 additions and 0 deletions

View File

@ -335,6 +335,10 @@ Uses prefix (as PREFIX) to choose where to display it:
(plantuml-preview-buffer prefix)))
(defun plantuml-save-to-file ()
"Save the generated image to a file.
This command will as for the path and filename to which the image
should be saved.
This command should be executed from the *PLANTUML Preview* buffer only"
(interactive)
(clipboard-kill-ring-save (point-min) (point-max))
(generate-new-buffer "untitled")