Selaa lähdekoodia

Merge branch 'maint'

Kyle Meyer 9 vuotta sitten
vanhempi
commit
4f499fff96
2 muutettua tiedostoa jossa 5 lisäystä ja 2 poistoa
  1. 3 1
      doc/org.texi
  2. 2 1
      lisp/org-capture.el

+ 3 - 1
doc/org.texi

@@ -7151,7 +7151,9 @@ files, targets usually define a node.  Entries will become children of this
 node.  Other types will be added to the table or list in the body of this
 node.  Other types will be added to the table or list in the body of this
 node.  Most target specifications contain a file name.  If that file name is
 node.  Most target specifications contain a file name.  If that file name is
 the empty string, it defaults to @code{org-default-notes-file}.  A file can
 the empty string, it defaults to @code{org-default-notes-file}.  A file can
-also be given as a variable, function, or Emacs Lisp form.
+also be given as a variable, function, or Emacs Lisp form.  When an absolute
+path is not specified for a target, it is taken as relative to
+@code{org-directory}.
 
 
 Valid values are:
 Valid values are:
 
 

+ 2 - 1
lisp/org-capture.el

@@ -127,7 +127,8 @@ target       Specification of where the captured item should be placed.
              Most target specifications contain a file name.  If that file
              Most target specifications contain a file name.  If that file
              name is the empty string, it defaults to `org-default-notes-file'.
              name is the empty string, it defaults to `org-default-notes-file'.
              A file can also be given as a variable, function, or Emacs Lisp
              A file can also be given as a variable, function, or Emacs Lisp
-             form.
+             form.  When an absolute path is not specified for a
+             target, it is taken as relative to `org-directory'.
 
 
              Valid values are:
              Valid values are: