forked from mirrors/org-mode
Revert part of Mikael Fornius' patch
This commit is contained in:
parent
f5deab4cea
commit
a9a8cbe39b
|
@ -1,5 +1,8 @@
|
|||
2010-03-12 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org.el (org-set-property, org-delete-property): Go back to
|
||||
prompting for the property.
|
||||
|
||||
* org-latex.el (org-export-latex-make-header): Fully process
|
||||
author line.
|
||||
(org-export-latex-fontify-headline): Allow several arguments, not
|
||||
|
|
|
@ -12986,8 +12986,7 @@ in the current file."
|
|||
(interactive
|
||||
(let* ((completion-ignore-case t)
|
||||
(keys (org-buffer-property-keys nil t t))
|
||||
(prop0 (or (when (org-at-property-p) (org-match-string-no-properties 2))
|
||||
(org-icompleting-read "Property: " (mapcar 'list keys))))
|
||||
(prop0 (org-icompleting-read "Property: " (mapcar 'list keys)))
|
||||
(prop (if (member prop0 keys)
|
||||
prop0
|
||||
(or (cdr (assoc (downcase prop0)
|
||||
|
@ -13014,9 +13013,7 @@ in the current file."
|
|||
"In the current entry, delete PROPERTY."
|
||||
(interactive
|
||||
(let* ((completion-ignore-case t)
|
||||
(prop (or (when (org-at-property-p) (org-match-string-no-properties 2))
|
||||
(org-icompleting-read
|
||||
"Property: " (org-entry-properties nil 'standard)))))
|
||||
(prop (org-icompleting-read "Property: " (org-entry-properties nil 'standard))))
|
||||
(list prop)))
|
||||
(message "Property %s %s" property
|
||||
(if (org-entry-delete nil property)
|
||||
|
|
Loading…
Reference in New Issue