summaryrefslogtreecommitdiffstats
path: root/.config/emacs/org/config.org
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2022-04-08 17:37:38 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2022-04-08 17:37:38 +0200
commit31be9129272ac40fddb3e60d53f188596e826f2e (patch)
tree81c88fd7ee89842fb0576d3f7045594c87fd0cba /.config/emacs/org/config.org
parentNew mutt account, new script (diff)
downloaddotfiles-bsd-31be9129272ac40fddb3e60d53f188596e826f2e.tar.gz
dotfiles-bsd-31be9129272ac40fddb3e60d53f188596e826f2e.tar.bz2
dotfiles-bsd-31be9129272ac40fddb3e60d53f188596e826f2e.tar.xz
dotfiles-bsd-31be9129272ac40fddb3e60d53f188596e826f2e.tar.zst
dotfiles-bsd-31be9129272ac40fddb3e60d53f188596e826f2e.zip
It doesnt work
Diffstat (limited to '.config/emacs/org/config.org')
-rw-r--r--.config/emacs/org/config.org17
1 files changed, 17 insertions, 0 deletions
diff --git a/.config/emacs/org/config.org b/.config/emacs/org/config.org
index 07841bd..f1e674f 100644
--- a/.config/emacs/org/config.org
+++ b/.config/emacs/org/config.org
@@ -176,6 +176,23 @@
'(require 'ox-md nil t))
#+END_SRC
+** Time stamps
+#+BEGIN_SRC emacs-lisp
+ (add-hook 'before-save-hook 'time-stamp)
+ (add-hook 'go-mode-hook (lambda()
+ (setq (make-local-variable 'time-stamp-pattern)
+ "50/ \\* +%3a %3b %02H:%02M:%02S %Z %:y")
+ (setq (make-local-variable 'time-stamp-time-zone)
+ "CEST")
+ ))
+ (add-hook 'c-mode-hook (lambda()
+ (setq (make-local-variable 'time-stamp-pattern)
+ "50/ \\* +%3a %3b %02H:%02M:%02S %Z %:y")
+ (setq (make-local-variable 'time-stamp-time-zone)
+ "CEST")
+ ))
+#+END_SRC
+
** Core packages
*** Autopair
#+BEGIN_SRC emacs-lisp