org-collector: better comments and more robust conversion of string to elisp
commitb36cf7a4374d9f92359fbd9918e3940d808ff80d
authorIvanov Dmitry <usr345@gmail.com>
Tue, 10 Aug 2010 15:22:24 +0000 (10 09:22 -0600)
committerEric Schulte <schulte.eric@gmail.com>
Tue, 10 Aug 2010 15:22:24 +0000 (10 09:22 -0600)
treef9f57388ce5674d6559f436996208d748feb3a55
parenta978d99a6eb147574c9252fbc798c592ab910d44
org-collector: better comments and more robust conversion of string to elisp

* contrib/lisp/org-collector.el (org-read-prop): added a more detailed
  comment, changed 2 if stements to 1 cond to make the code more
  comprehensible, added
    (condition-case nil
            (read prop)
            (error prop))
  instead of
    (read prop)
  so, if any error occurs during the conversion of prop to lisp
  expression - a string will be returned.
contrib/lisp/org-collector.el