From 31be9129272ac40fddb3e60d53f188596e826f2e Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 8 Apr 2022 17:37:38 +0200 Subject: It doesnt work --- .config/emacs/org/config.org | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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 -- cgit v1.2.3