Skip to content

Commit

Permalink
Stop keeping undo information for `twittering-mode' buffers.
Browse files Browse the repository at this point in the history
* twittering-mode.el: Stop keeping undo information for buffers
managed by `twittering-mode'. Thanks to irie for pointing it out.
(twittering-mode-setup): call `buffer-disable-undo'.
  • Loading branch information
cvmat committed Apr 24, 2010
1 parent b9bc397 commit 75a855b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Expand Up @@ -5,6 +5,10 @@
number of API requests if `twittering-display-remaining' is
non-nil.

* twittering-mode.el: Stop keeping undo information for buffers
managed by `twittering-mode'. Thanks to irie for pointing it out.
(twittering-mode-setup): call `buffer-disable-undo'.

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

* twittering-mode.el: Reimplement indicators.
Expand Down
1 change: 1 addition & 0 deletions twittering-mode.el
Expand Up @@ -1909,6 +1909,7 @@ static char * unplugged_xpm[] = {
(kill-all-local-variables)
(setq major-mode 'twittering-mode)
(setq buffer-read-only t)
(buffer-disable-undo)
(setq mode-name "twittering-mode")
(setq mode-line-buffer-identification
`(,(default-value 'mode-line-buffer-identification)
Expand Down

0 comments on commit 75a855b

Please sign in to comment.