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.


Reply via email to