aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2010-02-06 00:36:20 +0200
committerJuri Linkov2010-02-06 00:36:20 +0200
commit0d17c4b9879f92d557151d812e19923f397d51ec (patch)
treef234ce334bc945f7bad68927dd5d8f4c4c4fd351
parent8228a275dd54898cc8027a34ba4970014f4af4b0 (diff)
downloademacs-0d17c4b9879f92d557151d812e19923f397d51ec.tar.gz
emacs-0d17c4b9879f92d557151d812e19923f397d51ec.zip
* doc-view.el (doc-view-mode):
* image-mode.el (image-mode): Put property mode-class=special. (Bug#4896)
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/doc-view.el2
-rw-r--r--lisp/image-mode.el2
3 files changed, 9 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6982e488b44..7edff434fff 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12010-02-05 Juri Linkov <juri@jurta.org>
2
3 * doc-view.el (doc-view-mode):
4 * image-mode.el (image-mode): Put property mode-class=special.
5 (Bug#4896)
6
12010-02-05 Mark A. Hershberger <mah@everybody.org> 72010-02-05 Mark A. Hershberger <mah@everybody.org>
2 8
3 * vc-svn.el (vc-svn-revision-table): New function. 9 * vc-svn.el (vc-svn-revision-table): New function.
diff --git a/lisp/doc-view.el b/lisp/doc-view.el
index 5b84fc3e0d1..77a075b716f 100644
--- a/lisp/doc-view.el
+++ b/lisp/doc-view.el
@@ -1134,7 +1134,7 @@ If BACKWARD is non-nil, jump to the previous match."
1134 1134
1135;;;; User interface commands and the mode 1135;;;; User interface commands and the mode
1136 1136
1137;; (put 'doc-view-mode 'mode-class 'special) 1137(put 'doc-view-mode 'mode-class 'special)
1138 1138
1139(defun doc-view-already-converted-p () 1139(defun doc-view-already-converted-p ()
1140 "Return non-nil if the current doc was already converted." 1140 "Return non-nil if the current doc was already converted."
diff --git a/lisp/image-mode.el b/lisp/image-mode.el
index f3cdc05da16..5b785f0031e 100644
--- a/lisp/image-mode.el
+++ b/lisp/image-mode.el
@@ -317,6 +317,8 @@ This variable is used to display the current image type in the mode line.")
317 317
318(defvar bookmark-make-record-function) 318(defvar bookmark-make-record-function)
319 319
320(put 'image-mode 'mode-class 'special)
321
320;;;###autoload 322;;;###autoload
321(defun image-mode () 323(defun image-mode ()
322 "Major mode for image files. 324 "Major mode for image files.