]> git.eshelyaron.com Git - emacs.git/commit
Make doc-view work with text-mode as default major-mode (bug#34451)
authorTassilo Horn <tsdh@gnu.org>
Sat, 9 Mar 2019 21:05:38 +0000 (22:05 +0100)
committerTassilo Horn <tsdh@gnu.org>
Sat, 9 Mar 2019 21:06:26 +0000 (22:06 +0100)
commitaffd2a0cee901404251ea1d2ef01bfb618f5213a
tree789d4f1a60defde4999d3d54d7c2d6a0c8584d3b
parentdfc805532d77a3553a2eb6cb7035a041a8db848d
Make doc-view work with text-mode as default major-mode (bug#34451)

* lisp/doc-view.el (doc-view--text-view-mode): New alias for view-mode.
(doc-view-open-text): Use it.
(doc-view-toggle-display): Use it.
lisp/doc-view.el