Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix subscribe-hook for self in rudel-publish-buffer in rudel.el

* rudel.el (rudel-publish-buffer): use `rudel-add-user' instead of
  `object-add-to-list' to add the self user to the new document; this
  fixes a problem with the subscribe-hook not being run for the self
  user
  • Loading branch information...
commit 2c12932b03e812e8161c73ab72ac4326af3d3cd6 1 parent a7f6247
@scymtym scymtym authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  rudel.el
View
2  rudel.el
@@ -1040,7 +1040,7 @@ If BUFFER is nil, the current buffer is used."
(rudel-add-document rudel-current-session document)
(rudel-attach-to-buffer document buffer)
- (object-add-to-list document :subscribed self)
+ (rudel-add-user document self)
(rudel-publish connection document)))
)
Please sign in to comment.
Something went wrong with that request. Please try again.