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

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

[elpa] externals/org c5573bd: Merge branch 'maint'


From: ELPA Syncer
Subject: [elpa] externals/org c5573bd: Merge branch 'maint'
Date: Mon, 24 May 2021 20:57:14 -0400 (EDT)

branch: externals/org
commit c5573bdf4c92f05333a0c6e9e6232e86999a70cd
Merge: f72a658 37f69bf
Author: Bastien <bzg@gnu.org>
Commit: Bastien <bzg@gnu.org>

    Merge branch 'maint'
---
 lisp/org-refile.el | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/lisp/org-refile.el b/lisp/org-refile.el
index bffad0a..678759e 100644
--- a/lisp/org-refile.el
+++ b/lisp/org-refile.el
@@ -649,20 +649,18 @@ this function appends the default value from
     (setq old-hist org-refile-history)
     (setq answ (funcall cfunc prompt tbl nil (not new-nodes)
                        nil 'org-refile-history
-                       (or cdef (concat (car org-refile-history) extra))))
+                       (or cdef (car org-refile-history))))
     (if (setq pa (org-refile--get-location answ tbl))
-       (let* ((last-refile-loc (car org-refile-history))
-              (last-refile-loc-path (concat last-refile-loc extra)))
+       (let ((last-refile-loc (car org-refile-history)))
          (org-refile-check-position pa)
          (when (or (not org-refile-history)
                    (not (eq old-hist org-refile-history))
-                   (not (equal (car pa) last-refile-loc-path)))
+                   (not (equal (car pa) last-refile-loc)))
            (setq org-refile-history
                  (cons (car pa) (if (assoc last-refile-loc tbl)
                                     org-refile-history
                                   (cdr org-refile-history))))
-           (when (or (equal last-refile-loc-path (nth 1 org-refile-history))
-                     (equal last-refile-loc (nth 1 org-refile-history)))
+           (when (equal last-refile-loc (nth 1 org-refile-history))
              (pop org-refile-history)))
          pa)
       (if (string-match "\\`\\(.*\\)/\\([^/]+\\)\\'" answ)



reply via email to

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