From 06b11915c29e93c59168dc04f7f87c806e70b791 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 8 Apr 2022 20:06:30 +0200 Subject: New script incoming --- .config/emacs/org/config.org | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to '.config/emacs/org') diff --git a/.config/emacs/org/config.org b/.config/emacs/org/config.org index f1e674f..7237355 100644 --- a/.config/emacs/org/config.org +++ b/.config/emacs/org/config.org @@ -59,6 +59,7 @@ (package-initialize) (add-to-list 'load-path "~/.config/emacs/font-lock+") + (add-to-list 'load-path "~/.config/emacs/header2/") (add-to-list 'load-path "~/.config/emacs/all-the-icons/") (add-to-list 'load-path "~/.config/emacs/all-the-icons-dired/") @@ -176,21 +177,9 @@ '(require 'ox-md nil t)) #+END_SRC -** Time stamps +** header2 #+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") - )) + (add-hook 'c-mode-hook 'auto-make-header) #+END_SRC ** Core packages -- cgit v1.2.3