]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
added copyright-update
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Wed, 15 Mar 2017 10:28:57 +0000 (11:28 +0100)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Wed, 15 Mar 2017 10:28:57 +0000 (11:28 +0100)
- sometimes it's the small things making a big difference.

Signed-off-by: Andreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
bba.org

diff --git a/bba.org b/bba.org
index f0f6b1e3083bcce287e3f80044842f1c9cfc7f1a..1b18c0f84ad04fef5721ad6efdda0c1d0803cccd 100644 (file)
--- 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