Merge branch 'maint'

This commit is contained in:
Bastien 2018-04-26 09:56:55 +02:00
commit 23a4a1c99b
1 changed files with 5 additions and 4 deletions

View File

@ -93,11 +93,12 @@ Otherwise point is not moved. Return point."
(defun org-eww-copy-for-org-mode () (defun org-eww-copy-for-org-mode ()
"Copy current buffer content or active region with `org-mode' style links. "Copy current buffer content or active region with `org-mode' style links.
This will encode `link-title' and `link-location' with This will encode `link-title' and `link-location' with
`org-make-link-string', and insert the transformed test into the kill ring, `org-make-link-string' and insert the transformed text into the
so that it can be yanked into an Org mode buffer with links working correctly. kill ring, so that it can be yanked into an Org mode buffer with
links working correctly.
Further lines starting with a star get quoted with a comma to keep Further lines starting with a star get quoted with a comma to
the structure of the Org file." keep the structure of the Org file."
(interactive) (interactive)
(let* ((regionp (org-region-active-p)) (let* ((regionp (org-region-active-p))
(transform-start (point-min)) (transform-start (point-min))