diff options
author | Ulrich Müller <ulm@gentoo.org> | 2022-04-06 18:50:54 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2022-04-06 18:50:54 +0200 |
commit | 9cd6b3297a110a164e4169718f8096ae7128d0a6 (patch) | |
tree | 7bdbfcbafcbe1642552cce7847b23d42529b6815 /app-emacs/ledger-mode | |
parent | app-emacs/evil: Remove old (diff) | |
download | gentoo-9cd6b3297a110a164e4169718f8096ae7128d0a6.tar.gz gentoo-9cd6b3297a110a164e4169718f8096ae7128d0a6.tar.bz2 gentoo-9cd6b3297a110a164e4169718f8096ae7128d0a6.zip |
app-emacs/ledger-mode: Fix byte-compilation with Emacs 28
Closes: https://bugs.gentoo.org/836924
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-emacs/ledger-mode')
-rw-r--r-- | app-emacs/ledger-mode/files/ledger-mode-4.0.0-emacs-28.patch | 11 | ||||
-rw-r--r-- | app-emacs/ledger-mode/ledger-mode-4.0.0.ebuild | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/app-emacs/ledger-mode/files/ledger-mode-4.0.0-emacs-28.patch b/app-emacs/ledger-mode/files/ledger-mode-4.0.0-emacs-28.patch new file mode 100644 index 000000000000..744aaaa7d438 --- /dev/null +++ b/app-emacs/ledger-mode/files/ledger-mode-4.0.0-emacs-28.patch @@ -0,0 +1,11 @@ +--- ledger-mode-4.0.0/ledger-report.el ++++ ledger-mode-4.0.0/ledger-report.el +@@ -584,7 +584,7 @@ + (set-window-configuration ledger-original-window-cfg) + (kill-buffer (get-buffer ledger-report-buffer-name))) + +-(define-obsolete-function-alias 'ledger-report-kill #'ledger-report-quit) ++(define-obsolete-function-alias 'ledger-report-kill #'ledger-report-quit "") + + (defun ledger-report-edit-reports () + "Edit the defined ledger reports." diff --git a/app-emacs/ledger-mode/ledger-mode-4.0.0.ebuild b/app-emacs/ledger-mode/ledger-mode-4.0.0.ebuild index 662ffdb9191e..46fe804f4816 100644 --- a/app-emacs/ledger-mode/ledger-mode-4.0.0.ebuild +++ b/app-emacs/ledger-mode/ledger-mode-4.0.0.ebuild @@ -13,6 +13,7 @@ LICENSE="GPL-2+ BSD" SLOT="0" KEYWORDS="amd64 x86" +PATCHES=( "${FILESDIR}"/${P}-emacs-28.patch ) SITEFILE="50${PN}-gentoo.el" ELISP_TEXINFO="doc/ledger-mode.texi" BYTECOMPFLAGS+=" -l ledger-regex.el" |