Skip to content

Commit

Permalink
Add an edited tweet into the history without text properties.
Browse files Browse the repository at this point in the history
* twittering-mode.el: Add an edited tweet into the history without
text properties.
(twittering-edit-extract-status): extract a status without text
properties. They may cause `session.el' to fail to save
`twittering-edit-history' because
`twittering-make-clickable-status-datum' adds text properties with
self-reference to tweets.
  • Loading branch information
cvmat committed Sep 12, 2010
1 parent 2016db4 commit c00aa5c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions ChangeLog
@@ -1,3 +1,13 @@
2010-09-12 Tadashi MATSUO <tad@mymail.twin.jp>

* twittering-mode.el: Add an edited tweet into the history without
text properties.
(twittering-edit-extract-status): extract a status without text
properties. They may cause `session.el' to fail to save
`twittering-edit-history' because
`twittering-make-clickable-status-datum' adds text properties with
self-reference to tweets.

2010-09-04 Tadashi MATSUO <tad@mymail.twin.jp>

* twittering-mode.el (twittering-push-uri-onto-kill-ring): avoid
Expand Down
2 changes: 1 addition & 1 deletion twittering-mode.el
Expand Up @@ -3710,7 +3710,7 @@ been initialized yet."

(defun twittering-edit-extract-status ()
(if (eq major-mode 'twittering-edit-mode)
(buffer-string)
(buffer-substring-no-properties (point-min) (point-max))
""))

(defun twittering-edit-setup-help (&optional username spec)
Expand Down

0 comments on commit c00aa5c

Please sign in to comment.