From: Andreas Gerler Date: Wed, 15 Mar 2017 10:28:57 +0000 (+0100) Subject: added copyright-update X-Git-Url: http://git.bundesbrandschatzamt.de/?a=commitdiff_plain;h=48f5cea6c6f317ff18bc07b865f7137fac9ce8c5;p=emacsconfig.git added copyright-update - sometimes it's the small things making a big difference. Signed-off-by: Andreas Gerler --- diff --git a/bba.org b/bba.org index f0f6b1e3..1b18c0f8 100644 --- a/bba.org +++ b/bba.org @@ -110,6 +110,9 @@ from bash. (let ((path (shell-command-to-string ". ~/.bashrc >/dev/null; echo -n $EMAIL"))) (setenv "EMAIL" path) ) + (let ((path (shell-command-to-string ". ~/.bashrc >/dev/null; echo -n $ORGANIZATION"))) + (setenv "ORGANIZATION" path) + ) (let ((path (shell-command-to-string ". ~/.bashrc >/dev/null; echo -n $PYTHONPATH"))) (setenv "PYTHONPATH" path) ) @@ -3364,6 +3367,12 @@ XML indentation (setq nxml-child-indent 4)) #+END_SRC +update copyrights + +#+BEGIN_SRC emacs-lisp :tangle yes + (add-hook 'before-save-hook 'copyright-update) +#+END_SRC + * other stuff #+BEGIN_SRC emacs-lisp :tangle yes