General refactor & cleanup

This commit is contained in:
Henrik Lissner 2017-09-15 14:35:18 +02:00
parent 9f6b90cf13
commit 91783e0695
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
7 changed files with 11 additions and 14 deletions

View file

@ -91,7 +91,7 @@ the cursor."
(or ext (file-name-extension filename))))
;;;###autoload
(defun +org-attach*insert-link (link filename)
(defun +org-attach*insert-link (_link filename)
"TODO"
(if (looking-back "^[ \t]+" (line-beginning-position))
(delete-region (match-beginning 0) (match-end 0))