Function: org-attach-new
org-attach-new is an interactive and byte-compiled function defined in
org-attach.el.gz.
Signature
(org-attach-new FILE)
Documentation
Create a new attachment FILE for the current outline node.
The attachment is created as an Emacs buffer.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-attach.el.gz
(defun org-attach-new (file)
"Create a new attachment FILE for the current outline node.
The attachment is created as an Emacs buffer."
(interactive "sCreate attachment named: ")
(let ((attach-dir (org-attach-dir 'get-create)))
(org-attach-tag)
(find-file (expand-file-name file attach-dir))
(message "New attachment %s" file)))