branch: externals/dape
commit 484ce0303f0836b6471c2aea8c02514a959621ac
Author: Daniel Pettersson <dan...@dpettersson.net>
Commit: Daniel Pettersson <dan...@dpettersson.net>

    Cosmetic change
---
 dape.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dape.el b/dape.el
index 2b954d6dd7..5810534763 100644
--- a/dape.el
+++ b/dape.el
@@ -1429,9 +1429,8 @@ See `dape--connection-selected'."
       message
     (with-slots (last-id n-sent-notifs) conn
       (cond ((eq subtype 'notification)
-             (cl-incf n-sent-notifs)
              `( :type "event"
-                :seq ,(+ last-id n-sent-notifs)
+                :seq ,(+ last-id (cl-incf n-sent-notifs))
                 :event ,method
                 :body ,params))
             ((eq subtype 'request)

Reply via email to