emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: [PATCH] org-at-property-p and related


From: Carsten Dominik
Subject: [Orgmode] Re: [PATCH] org-at-property-p and related
Date: Thu, 11 Mar 2010 15:05:03 +0100

Done, thanks...

- Carsten

On Mar 11, 2010, at 3:01 PM, Mikael Fornius wrote:


Sorry, I did a little wrong again. It is not my day today...

Please also apply this for correct behavior:

diff --git a/lisp/org.el b/lisp/org.el
index ad15d5e..a4932a2 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -12986,7 +12986,7 @@ in the current file."
  (interactive
   (let* ((completion-ignore-case t)
          (keys (org-buffer-property-keys nil t t))
- (prop0 (or (progn (org-at-property-p) (org-match-string-no- properties 2)) + (prop0 (or (when (org-at-property-p) (org-match-string-no- properties 2))
                     (org-icompleting-read "Property: " (mapcar 'list keys))))
          (prop (if (member prop0 keys)
                    prop0
@@ -13014,7 +13014,7 @@ in the current file."
  "In the current entry, delete PROPERTY."
  (interactive
   (let* ((completion-ignore-case t)
- (prop (or (progn (org-at-property-p) (org-match-string-no- properties 2)) + (prop (or (when (org-at-property-p) (org-match-string-no- properties 2))
                    (org-icompleting-read
                     "Property: " (org-entry-properties nil 'standard)))))
     (list prop)))

--
Mikael Fornius

- Carsten







reply via email to

[Prev in Thread] Current Thread [Next in Thread]