Permalink
Browse files

[emacs mode] Fix activity check in tern-run-command

  • Loading branch information...
1 parent 0093913 commit f9bde5792b7a19ac63c344219e0b0c6bd5a41d35 @marijnh marijnh committed Dec 22, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 emacs/tern.el
View
@@ -225,7 +225,7 @@ list of strings, giving the binary name and arguments.")
(push `(end . ,(1- pos)) (cdr (assq 'query doc)))
(tern-run-request
(lambda (err data)
- (when (= tern-activity-since-command (1- generation))
+ (when (< tern-activity-since-command generation)
(cond ((not err)
(dolist (file files)
(when (equal (cdr (assq 'type file)) "full")

0 comments on commit f9bde57

Please sign in to comment.