branch: elpa/sesman
commit 2e4205c7d94390d619c34dfe0b2fd527c92cffd9
Author: Vitalie Spinu <spinu...@gmail.com>
Commit: Vitalie Spinu <spinu...@gmail.com>

    Fix return value of sesman-grouped-links
---
 sesman.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sesman.el b/sesman.el
index dfebbce4f8..88005f7a33 100644
--- a/sesman.el
+++ b/sesman.el
@@ -646,7 +646,8 @@ If AS-STRING is non-nil, return an equivalent string 
representation."
                         (mapconcat fmt-fn out ", "))
               (mapconcat fmt-fn out ", ")))
         (if sort-current-first
-            (cons out-rel out))))))
+            (cons out-rel out)
+          out)))))
 
 (defun sesman-links (system &optional session-or-name cxt-types sort)
 "Retrieve all links for SYSTEM, SESSION-OR-NAME and CXT-TYPES.

Reply via email to