summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2024-11-20 10:50:54 +0100
committerUlrich Müller <ulm@gentoo.org>2024-11-20 12:42:28 +0100
commita73bf72677419284760a0ada9333f8de1df1e1f0 (patch)
treeff4be5c6d48df5305f90ab2c34c4722e633a26c0 /app-editors/emacs/emacs-30.0.9999-r1.ebuild
parentdev-python/pytest-rerunfailures: Bump to 15.0 (diff)
downloadgentoo-a73bf72677419284760a0ada9333f8de1df1e1f0.tar.gz
gentoo-a73bf72677419284760a0ada9333f8de1df1e1f0.tar.bz2
gentoo-a73bf72677419284760a0ada9333f8de1df1e1f0.zip
app-editors/emacs: Replace string-match by string-equal in site-init file
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-editors/emacs/emacs-30.0.9999-r1.ebuild')
-rw-r--r--app-editors/emacs/emacs-30.0.9999-r1.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/app-editors/emacs/emacs-30.0.9999-r1.ebuild b/app-editors/emacs/emacs-30.0.9999-r1.ebuild
index 3c000ffedb94..7058569f30e2 100644
--- a/app-editors/emacs/emacs-30.0.9999-r1.ebuild
+++ b/app-editors/emacs/emacs-30.0.9999-r1.ebuild
@@ -528,7 +528,7 @@ src_install() {
X
;;; ${EMACS_SUFFIX} site-lisp configuration
X
- (when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
+ (when (string-equal emacs-version "${FULL_VERSION}")
Y (setq find-function-C-source-directory
Y "${EPREFIX}${cdir}")
X (let ((path (getenv "INFOPATH"))