summaryrefslogtreecommitdiff
path: root/lisp/thumbs.el
diff options
context:
space:
mode:
authorJohn Paul Wallington <jpw@pobox.com>2004-09-04 18:34:30 +0000
committerJohn Paul Wallington <jpw@pobox.com>2004-09-04 18:34:30 +0000
commit288f8357fd2857b83eee4e409f79b231dced44e2 (patch)
treecce6db5ca8ea403c74bbbe5fd28c50ca83daa1c4 /lisp/thumbs.el
parent8f0d9e76ef359770835163688a2c64accad48e45 (diff)
downloademacs-288f8357fd2857b83eee4e409f79b231dced44e2.tar.gz
(thumbs-view-image-mode-map): Fix `thumbs-set-root' command name typo.
(thumbs-view-image-mode): Make buffer read-only.
Diffstat (limited to 'lisp/thumbs.el')
-rw-r--r--lisp/thumbs.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/thumbs.el b/lisp/thumbs.el
index 1fbf2d224a2..13970e59ee8 100644
--- a/lisp/thumbs.el
+++ b/lisp/thumbs.el
@@ -769,14 +769,15 @@ ACTION and ARG should be legal convert command."
(define-key map "r" 'thumbs-resize-interactive)
(define-key map "s" 'thumbs-save-current-image)
(define-key map "q" 'thumbs-kill-buffer)
- (define-key map "w" 'thunbs-set-root)
+ (define-key map "w" 'thumbs-set-root)
map)
"Keymap for `thumbs-view-image-mode'.")
;; thumbs-view-image-mode
(put 'thumbs-view-image-mode 'mode-class 'special)
(define-derived-mode thumbs-view-image-mode
- fundamental-mode "image-view-mode")
+ fundamental-mode "image-view-mode"
+ (setq buffer-read-only t))
;;;###autoload
(defun thumbs-dired-setroot ()