emacs-orgmode
[Top][All Lists]
Advanced

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

Re: Q: placement of initialization for org-time-stamp-formats


From: Robert Pluim
Subject: Re: Q: placement of initialization for org-time-stamp-formats
Date: Fri, 03 Jul 2020 15:51:23 +0200

>>>>> On Fri, 3 Jul 2020 15:18:40 +0200, hj-orgmode-1@hj.proberto.com said:

    hj-orgmode-1>  Hello again.

    hj-orgmode-1>  After a lot of searching and trying, I finally figured one 
thing that
    hj-orgmode-1> seems to work: ( I am no lisp programmer, so I don't know what
    hj-orgmode-1> negative side effects might this have) ; I've added into
    hj-orgmode-1> dotspacemacs/user-config section inside .spacemacs :

    hj-orgmode-1>  (add-hook 'org-load-hook
    hj-orgmode-1>           (lambda ()
    hj-orgmode-1>             (setq org-time-stamp-formats '("<%Y-%m-%d %a>"
    hj-orgmode-1> . "<%Y-%m-%d %a %H:%M:%S %Z>")) ))

    hj-orgmode-1>  Does that look like this should have no undesirable side 
effects?

Thatʼs normally written

    (with-eval-after-load "org"
      (setq org-time-stamp-formats '("<%Y-%m-%d %a>" . "<%Y-%m-%d %a%H:%M:%S 
%Z>")))

Robert



reply via email to

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