diff options
author | 2022-01-16 12:03:30 +0100 | |
---|---|---|
committer | 2022-01-16 12:03:30 +0100 | |
commit | 4aa5264a404d54f791df6d52aaa5199bc51058f6 (patch) | |
tree | ede5fa3ac7842733805ea2acb2bfc4a83e3d9c2f /gentoo-newsitem-mode.el | |
parent | Document ebuild-repo-mode (diff) | |
download | ebuild-mode-4aa5264a404d54f791df6d52aaa5199bc51058f6.tar.gz ebuild-mode-4aa5264a404d54f791df6d52aaa5199bc51058f6.tar.bz2 ebuild-mode-4aa5264a404d54f791df6d52aaa5199bc51058f6.zip |
Better default for author in gentoo-newsitem-mode and glep-mode
* gentoo-newsitem-mode.el (gentoo-newsitem-insert-skeleton):
Use ebuild-mode-full-name and ebuild-mode-mail-address as default
author information.
* glep-mode.el (glep-mode-insert-skeleton): Ditto.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'gentoo-newsitem-mode.el')
-rw-r--r-- | gentoo-newsitem-mode.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gentoo-newsitem-mode.el b/gentoo-newsitem-mode.el index 9951e7c..d63e3cf 100644 --- a/gentoo-newsitem-mode.el +++ b/gentoo-newsitem-mode.el @@ -61,7 +61,10 @@ "Title: " (skeleton-read "Title: ") "\n" "Author: " (skeleton-read "Author's real name and e-mail address: " - (concat user-full-name " <" user-mail-address ">")) + (progn + (require 'ebuild-mode) + (concat ebuild-mode-full-name + " <" ebuild-mode-mail-address ">"))) "\n" ((skeleton-read "Further author (null string to terminate): ") "Author: " str "\n") |