diff options
author | 2023-10-15 13:32:00 +0200 | |
---|---|---|
committer | 2023-10-15 13:32:00 +0200 | |
commit | 652fe77f5ec15ad0a601c4241a87da57ac13d4b3 (patch) | |
tree | ad97521202807503973be9813bba71d3f97a6415 | |
parent | Version 1.68 released (diff) | |
download | ebuild-mode-652fe77f5ec15ad0a601c4241a87da57ac13d4b3.tar.gz ebuild-mode-652fe77f5ec15ad0a601c4241a87da57ac13d4b3.tar.bz2 ebuild-mode-652fe77f5ec15ad0a601c4241a87da57ac13d4b3.zip |
Drop unnecessary require commands
* gentoo-newsitem-mode.el (gentoo-newsitem-insert-skeleton):
* glep-mode.el (glep-mode-insert-skeleton): Drop local require
for ebuild-mode, as it is required globally.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | gentoo-newsitem-mode.el | 6 | ||||
-rw-r--r-- | glep-mode.el | 6 |
3 files changed, 10 insertions, 8 deletions
@@ -1,3 +1,9 @@ +2023-10-15 Ulrich Müller <ulm@gentoo.org> + + * gentoo-newsitem-mode.el (gentoo-newsitem-insert-skeleton): + * glep-mode.el (glep-mode-insert-skeleton): Drop local require + for ebuild-mode, as it is required globally. + 2023-10-06 Ulrich Müller <ulm@gentoo.org> * Version 1.68 released. diff --git a/gentoo-newsitem-mode.el b/gentoo-newsitem-mode.el index 8947510..4ab7f06 100644 --- a/gentoo-newsitem-mode.el +++ b/gentoo-newsitem-mode.el @@ -62,10 +62,8 @@ "Title: " (skeleton-read "Title: ") "\n" "Author: " (skeleton-read "Author's real name and e-mail address: " - (progn - (require 'ebuild-mode) - (concat ebuild-mode-full-name - " <" ebuild-mode-mail-address ">"))) + (concat ebuild-mode-full-name + " <" ebuild-mode-mail-address ">")) "\n" ((skeleton-read "Further author (null string to terminate): ") "Author: " str "\n") diff --git a/glep-mode.el b/glep-mode.el index d36cc76..6b7377b 100644 --- a/glep-mode.el +++ b/glep-mode.el @@ -208,10 +208,8 @@ Calls the external \"glep\" command." "Title: " (skeleton-read "Title: ") "\n" "Author: " (skeleton-read "Author's real name and e-mail address: " - (progn - (require 'ebuild-mode) - (concat ebuild-mode-full-name - " <" ebuild-mode-mail-address ">"))) + (concat ebuild-mode-full-name + " <" ebuild-mode-mail-address ">")) "\n" "Type: " (completing-read |