Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Jan Moringen scymtym authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  rudel.el
2  rudel.el
@@ -1040,7 +1040,7 @@ If BUFFER is nil, the current buffer is used."
1040 1040 (rudel-add-document rudel-current-session document)
1041 1041
1042 1042 (rudel-attach-to-buffer document buffer)
1043   - (object-add-to-list document :subscribed self)
  1043 + (rudel-add-user document self)
1044 1044
1045 1045 (rudel-publish connection document)))
1046 1046 )

0 comments on commit 2c12932

Please sign in to comment.
Something went wrong with that request. Please try again.