emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/embark 8cf1fdbfac: Stop using xref--push-markers for Em


From: ELPA Syncer
Subject: [elpa] externals/embark 8cf1fdbfac: Stop using xref--push-markers for Emacs 26 (fix #444)
Date: Fri, 7 Jan 2022 20:57:39 -0500 (EST)

branch: externals/embark
commit 8cf1fdbfacdbdb98ca3b4e50bf295059a02fe4a2
Author: Omar Antolín Camarena <omar.antolin@gmail.com>
Commit: Omar Antolín Camarena <omar.antolin@gmail.com>

    Stop using xref--push-markers for Emacs 26 (fix #444)
---
 embark.el | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/embark.el b/embark.el
index ab7e06d097..63c475e697 100644
--- a/embark.el
+++ b/embark.el
@@ -468,7 +468,7 @@ the key :always are executed always."
     ;; commands we want to be able to jump back from
     ;; (embark-find-definition achieves this by calling
     ;; xref-find-definitions which pushes the markers itself)
-    (find-library embark--xref-push-markers)
+    (find-library embark--xref-push-marker)
     ;; commands which prompt the user for confirmation before running
     (delete-file embark--confirm)
     (delete-directory embark--confirm)
@@ -3740,10 +3740,10 @@ The advice is self-removing so it only affects ACTION 
once."
   (delete-minibuffer-contents)
   (embark--allow-edit))
 
-(autoload 'xref--push-markers "xref")
-(defun embark--xref-push-markers (&rest _)
-  "Push the xref markers to leave a location trail."
-  (xref--push-markers))
+(autoload 'xref-push-marker-stack "xref")
+(defun embark--xref-push-marker (&rest _)
+  "Push a marker onto the xref marker stack."
+  (xref-push-marker-stack))
 
 (cl-defun embark--confirm (&key action target &allow-other-keys)
   "Ask for confirmation before running the ACTION on the TARGET."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]