> On 20 Sep 2016, at 19:08, Adam Porter <a...@alphapapa.net> wrote: > > Rainer Krug <r.m.k...@gmail.com> writes: > >> Could you please provide an example? It is not clear to me what you mean - I >> prefer simpler! > > Sure, here's an abbreviated example of custom-set-variables from my > init.el: > > #+BEGIN_SRC elisp > (custom-set-variables > ;; custom-set-variables was added by Custom. > ;; If you edit it by hand, you could mess it up, so be careful. > ;; Your init file should contain only one such instance. > ;; If there is more than one, they won't work right. > '(org-capture-templates > (quote > (("a" "Appointment" entry > (file+datetree+prompt > (concat org-directory "/calendar.org") > "Calendar") > "* %^{Description} %T %^G > > %U %?" :clock-in t :clock-resume t))))) > #+END_SRC > > The downside is that, if you're editing them in your init file instead > of through the customize interface, you have to eval the entire > custom-set-variables to apply changes, which requires a few extra > keystrokes. > >
Thanks - I see what you mean. But It seems to abusing the basic idea of custom-set-variables as this sounds as if it is used by the customise interface. So it should be possible to set it using my initial approach? Rainer -- Rainer M. Krug email: Rainer<at>krugs<dot>de PGP: 0x0F52F982
signature.asc
Description: Message signed with OpenPGP using GPGMail