branch: externals/dtache
commit c29079e0c042061ecb75e5e20c36f997000e6fcc
Author: Niklas Eklund <niklas.ekl...@posteo.net>
Commit: Niklas Eklund <niklas.ekl...@posteo.net>

    Remove dtache-session-history
    
    The history variable was accidentally added to the
    dtache-completing-read function. This commit will remove it since
    re-ordering the history based on selected sessions is a bad idea.
---
 dtache.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dtache.el b/dtache.el
index 538fe5b7f2..039178aa5b 100644
--- a/dtache.el
+++ b/dtache.el
@@ -576,7 +576,7 @@ Sessions running on  current host or localhost are updated."
                        (if (eq action 'metadata)
                            metadata
                          (complete-with-action action candidates string 
predicate))))
-         (cand (completing-read "Select session: " collection nil t nil 
'dtache-session-history)))
+         (cand (completing-read "Select session: " collection nil t)))
     (cdr (assoc cand candidates))))
 
 (defun dtache-setup-notification (session)

Reply via email to