diff options
Diffstat (limited to 'app-emacs/lice-el/files')
-rw-r--r-- | app-emacs/lice-el/files/50lice-el-gentoo.el | 3 | ||||
-rw-r--r-- | app-emacs/lice-el/files/lice-el-0.3-siteetc.patch | 12 |
2 files changed, 15 insertions, 0 deletions
diff --git a/app-emacs/lice-el/files/50lice-el-gentoo.el b/app-emacs/lice-el/files/50lice-el-gentoo.el new file mode 100644 index 000000000000..c249663fc2fa --- /dev/null +++ b/app-emacs/lice-el/files/50lice-el-gentoo.el @@ -0,0 +1,3 @@ +(add-to-list 'load-path "@SITELISP@") +(autoload 'lice "lice" + "Insert license and headers." t) diff --git a/app-emacs/lice-el/files/lice-el-0.3-siteetc.patch b/app-emacs/lice-el/files/lice-el-0.3-siteetc.patch new file mode 100644 index 000000000000..264bb1828100 --- /dev/null +++ b/app-emacs/lice-el/files/lice-el-0.3-siteetc.patch @@ -0,0 +1,12 @@ +--- a/lice.el ++++ b/lice.el +@@ -57,8 +57,7 @@ + + (defconst lice:system-template-directory + (expand-file-name "template" +- (or (and load-file-name (file-name-directory load-file-name)) +- default-directory))) ++ "@SITEETC@")) + + (defvar lice:custom-template-directory + (expand-file-name "lice" user-emacs-directory)) |