Skip to content

Commit

Permalink
Don't use alert-active-alerts just yet
Browse files Browse the repository at this point in the history
  • Loading branch information
jwiegley committed Sep 16, 2011
1 parent 9c727e8 commit d2e8438
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions alert.el
Expand Up @@ -773,8 +773,9 @@ Here are some more typical examples of usage:
(setq matched t)

(let ((remover (plist-get style-def :remover)))
(add-to-list 'alert-active-alerts
(list alert-buffer info remover))
(if nil
(add-to-list 'alert-active-alerts
(list alert-buffer info remover)))
(with-current-buffer alert-buffer
(add-hook 'post-command-hook
'alert-remove-on-command nil t))
Expand Down

0 comments on commit d2e8438

Please sign in to comment.