changeset 107096:31db1aaeac2d

* doc-view.el (doc-view-mode): * image-mode.el (image-mode): Put property mode-class=special. (Bug#4896)
author Juri Linkov <juri@jurta.org>
date Sat, 06 Feb 2010 00:36:20 +0200
parents d1489c6b5705
children 6692a4cd2966 91a3b0edffcc
files lisp/ChangeLog lisp/doc-view.el lisp/image-mode.el
diffstat 3 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Feb 05 14:20:17 2010 -0500
+++ b/lisp/ChangeLog	Sat Feb 06 00:36:20 2010 +0200
@@ -1,3 +1,9 @@
+2010-02-05  Juri Linkov  <juri@jurta.org>
+
+	* doc-view.el (doc-view-mode):
+	* image-mode.el (image-mode): Put property mode-class=special.
+	(Bug#4896)
+
 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
 
 	* vc-svn.el (vc-svn-revision-table): New function.
--- a/lisp/doc-view.el	Fri Feb 05 14:20:17 2010 -0500
+++ b/lisp/doc-view.el	Sat Feb 06 00:36:20 2010 +0200
@@ -1134,7 +1134,7 @@
 
 ;;;; User interface commands and the mode
 
-;; (put 'doc-view-mode 'mode-class 'special)
+(put 'doc-view-mode 'mode-class 'special)
 
 (defun doc-view-already-converted-p ()
   "Return non-nil if the current doc was already converted."
--- a/lisp/image-mode.el	Fri Feb 05 14:20:17 2010 -0500
+++ b/lisp/image-mode.el	Sat Feb 06 00:36:20 2010 +0200
@@ -317,6 +317,8 @@
 
 (defvar bookmark-make-record-function)
 
+(put 'image-mode 'mode-class 'special)
+
 ;;;###autoload
 (defun image-mode ()
   "Major mode for image files.