* Antoine R. Dumont <antoine.romain.dum...@gmail.com> wrote: > > Also, for information you could use format function. > It clarifies the prompt computation ^^: > > ``` > (defun org-read-entry-property-name () > "Read a property name from the current entry." > (let ((completion-ignore-case t) > (default-prop (or (and (org-at-property-p) > (org-match-string-no-properties 2)) > org-last-set-property))) > (org-completing-read > (format "Property [%s]: " (if default-prop default-prop "")) > (org-entry-properties nil nil) > nil nil nil nil default-prop))) > ```
Thank you very much! Nice code, eases my life. -- mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode: > get Memacs from https://github.com/novoid/Memacs < https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github