Permalink
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...
1 parent a7f6247 commit 2c12932b03e812e8161c73ab72ac4326af3d3cd6 @scymtym committed Jul 21, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 rudel.el
View
@@ -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)))
)

0 comments on commit 2c12932

Please sign in to comment.