Test for special mode-class in view-buffer instead of view-file (bug#5513).
authorJuri Linkov <juri@jurta.org>
Sun, 18 Apr 2010 23:49:58 +0000 (02:49 +0300)
committerJuri Linkov <juri@jurta.org>
Sun, 18 Apr 2010 23:49:58 +0000 (02:49 +0300)
commitfd5c9dfa9e667a980e52e1f390e817f7133ca961
tree29f3b1a84ff9e04eb4c798f90bde038b3e6421cd
parentb3671a51b9fd296d311227150891f02f49af9017
Test for special mode-class in view-buffer instead of view-file (bug#5513).

* view.el (view-file, view-buffer): Move test for special mode-class
from view-file to view-buffer.

* tar-mode.el (tar-extract): Turn if's into one cond
like in arc-mode.el.
etc/NEWS
lisp/ChangeLog
lisp/arc-mode.el
lisp/tar-mode.el
lisp/view.el