public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/dired-sort-menu/, app-emacs/dired-sort-menu/files/
@ 2024-11-16 17:40 Ulrich Müller
  0 siblings, 0 replies; only message in thread
From: Ulrich Müller @ 2024-11-16 17:40 UTC (permalink / raw
  To: gentoo-commits

commit:     04f8897f3bd8d2ae92511838a16504b87af0e8ee
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 16 16:52:35 2024 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Nov 16 17:39:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04f8897f

app-emacs/dired-sort-menu: Don't use dired-load-hook in site-init

That hook variable is obsolete; use with-eval-after-load instead.

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 .../{dired-sort-menu-1.26.ebuild => dired-sort-menu-1.26-r1.ebuild}    | 0
 app-emacs/dired-sort-menu/files/50dired-sort-menu-gentoo.el            | 3 +--
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/app-emacs/dired-sort-menu/dired-sort-menu-1.26.ebuild b/app-emacs/dired-sort-menu/dired-sort-menu-1.26-r1.ebuild
similarity index 100%
rename from app-emacs/dired-sort-menu/dired-sort-menu-1.26.ebuild
rename to app-emacs/dired-sort-menu/dired-sort-menu-1.26-r1.ebuild

diff --git a/app-emacs/dired-sort-menu/files/50dired-sort-menu-gentoo.el b/app-emacs/dired-sort-menu/files/50dired-sort-menu-gentoo.el
index 07e02ebcbd1b..ea0f9fb68b01 100644
--- a/app-emacs/dired-sort-menu/files/50dired-sort-menu-gentoo.el
+++ b/app-emacs/dired-sort-menu/files/50dired-sort-menu-gentoo.el
@@ -1,3 +1,2 @@
 (add-to-list 'load-path "@SITELISP@")
-(add-hook 'dired-load-hook
-	  (lambda () (require 'dired-sort-menu)))
+(with-eval-after-load 'dired (require 'dired-sort-menu))


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-11-16 17:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-16 17:40 [gentoo-commits] repo/gentoo:master commit in: app-emacs/dired-sort-menu/, app-emacs/dired-sort-menu/files/ Ulrich Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox