Permalink
Browse files

* helm.el (helm-resume-previous-session-after-quit): Fix, use <.

  • Loading branch information...
1 parent 9d0eb07 commit a2ecf8c0e52ea501bf40bc224466a685c68e2aaa @thierryvolpiatto thierryvolpiatto committed Apr 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 helm.el
View
@@ -1562,7 +1562,7 @@ Called from lisp, you can specify a buffer-name as a string with ARG."
(defun helm-resume-previous-session-after-quit (arg)
"Resume previous helm session within running helm."
(interactive "p")
- (if (and helm-alive-p (>= (length helm-buffers) arg))
+ (if (and helm-alive-p (> (length helm-buffers) arg))
(helm-run-after-quit `(lambda () (helm-resume (nth ,arg helm-buffers))))
(message "No previous helm sessions to resume yet!")))

0 comments on commit a2ecf8c

Please sign in to comment.