浏览代码

Fix special properties list

* lisp/org.el (org-special-properties): Add missing "CATEGORY".

* doc/org.texi (Special properties): Remove "NOBLOCKING" as a special
  property, since it can only be set through a properties drawer.
  This is a reserved property.

Reported-by: Samuel Loury <konubinix@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/94483>
Nicolas Goaziou 11 年之前
父节点
当前提交
31e7634779
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 0 1
      doc/org.texi
  2. 3 2
      lisp/org.el

+ 0 - 1
doc/org.texi

@@ -5368,7 +5368,6 @@ should not be used as keys in the properties drawer:
 @example
 @example
 ALLTAGS      @r{All tags, including inherited ones.}
 ALLTAGS      @r{All tags, including inherited ones.}
 BLOCKED      @r{"t" if task is currently blocked by children or siblings.}
 BLOCKED      @r{"t" if task is currently blocked by children or siblings.}
-NOBLOCKING   @r{"t" if blocking is disabled for this task.}
 CATEGORY     @r{The category of an entry.}
 CATEGORY     @r{The category of an entry.}
 CLOCKSUM     @r{The sum of CLOCK intervals in the subtree.  @code{org-clock-sum}}
 CLOCKSUM     @r{The sum of CLOCK intervals in the subtree.  @code{org-clock-sum}}
              @r{must be run first to compute the values in the current buffer.}
              @r{must be run first to compute the values in the current buffer.}

+ 3 - 2
lisp/org.el

@@ -15363,8 +15363,9 @@ a *different* entry, you cannot use these techniques."
 ;;; Properties API
 ;;; Properties API
 
 
 (defconst org-special-properties
 (defconst org-special-properties
-  '("ALLTAGS" "BLOCKED" "CLOCKSUM" "CLOCKSUM_T" "CLOSED" "DEADLINE" "FILE"
-    "ITEM" "PRIORITY" "SCHEDULED" "TAGS" "TIMESTAMP" "TIMESTAMP_IA" "TODO")
+  '("ALLTAGS" "BLOCKED" "CATEGORY" "CLOCKSUM" "CLOCKSUM_T" "CLOSED" "DEADLINE"
+    "FILE" "ITEM" "PRIORITY" "SCHEDULED" "TAGS" "TIMESTAMP" "TIMESTAMP_IA"
+    "TODO")
   "The special properties valid in Org mode.
   "The special properties valid in Org mode.
 These are properties that are not defined in the property drawer,
 These are properties that are not defined in the property drawer,
 but in some other way.")
 but in some other way.")