aboutsummaryrefslogtreecommitdiff
path: root/Emacs
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-09-28 16:29:05 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-09-28 16:29:05 +0100
commit08679e967a9a1ed9548199d0c7e2aeb3e1f8b3e7 (patch)
treebdc339de5f2db8d3f92a6e9321d65959ee7a87c1 /Emacs
parentb71068309b7b5041fc48ec37ea23ff1b759b7d76 (diff)
downloaddotfiles-08679e967a9a1ed9548199d0c7e2aeb3e1f8b3e7.tar.gz
dotfiles-08679e967a9a1ed9548199d0c7e2aeb3e1f8b3e7.tar.bz2
dotfiles-08679e967a9a1ed9548199d0c7e2aeb3e1f8b3e7.zip
(Emacs)~C/C++ skeleton now inserts a copyright notice.
Diffstat (limited to 'Emacs')
-rw-r--r--Emacs/.config/emacs/config.org4
1 files changed, 2 insertions, 2 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index 14eefe4..7fa7db8 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -3078,7 +3078,7 @@ Tons of stuff, namely:
:auto-insert
(("\\.c\\'" . "C skeleton")
""
- "/* " (file-name-nondirectory (buffer-file-name (current-buffer))) "\n"
+ "/* " (+license/insert-copyright-notice) "\n\n"
" * Created: " (format-time-string "%Y-%m-%d") "\n"
" * Author: " user-full-name "\n"
" * Description: " _ "\n"
@@ -3086,7 +3086,7 @@ Tons of stuff, namely:
"\n")
(("\\.cpp\\'" "C++ skeleton")
""
- "/* " (file-name-nondirectory (buffer-file-name (current-buffer))) "\n"
+ "/* " (+license/insert-copyright-notice) "\n\n"
" * Created: " (format-time-string "%Y-%m-%d") "\n"
" * Author: " user-full-name "\n"
" * Description: " _ "\n"