[Top][All Lists]

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

[O] two basic elisp questions

From: Matt Price
Subject: [O] two basic elisp questions
Date: Fri, 22 Jul 2016 11:38:16 -0400

(1) can I interactively call an e lisp function like "org-set-property" and provide a single argument to it even if it expects 2, e.g.:
(call-interactively 'org-set-protertyt (vector "GRADE" ))? (I don't seem to be able to pass ANY arguments via call-interactively so maybe I misunderstand something fundamental).

(2) Is it possible to set the default value for interactive file selection to something OTHER than the currect directory of the current buffer? Something like:

  ((base-dir "./Assignment1/"))

I'd like to set different base directories when attaching files to subtrees of different first-level trees in a buffer. I guess I would set the value for the base directory with a property.


reply via email to

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