aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2005-05-31 13:27:27 +0000
committerStefan Monnier2005-05-31 13:27:27 +0000
commitabceae284ab1804290e67bd1d8ac1b09a8b8a315 (patch)
treec274b02a0fa5e867c8cc17c037a5e72dddbe5e06
parentf2430a0de4a9df92c161a7166ba50b48c381fa59 (diff)
downloademacs-abceae284ab1804290e67bd1d8ac1b09a8b8a315.tar.gz
emacs-abceae284ab1804290e67bd1d8ac1b09a8b8a315.zip
(thumbs-mode): Fix misuse of make-variable-buffer-local.
-rw-r--r--lisp/thumbs.el7
1 files changed, 2 insertions, 5 deletions
diff --git a/lisp/thumbs.el b/lisp/thumbs.el
index 03491873c9d..321fe7266cc 100644
--- a/lisp/thumbs.el
+++ b/lisp/thumbs.el
@@ -758,9 +758,8 @@ ACTION and ARG should be a valid convert command."
758(define-derived-mode thumbs-mode 758(define-derived-mode thumbs-mode
759 fundamental-mode "thumbs" 759 fundamental-mode "thumbs"
760 "Preview images in a thumbnails buffer" 760 "Preview images in a thumbnails buffer"
761 (make-variable-buffer-local 'thumbs-markedL)
762 (setq buffer-read-only t) 761 (setq buffer-read-only t)
763 (setq thumbs-markedL nil)) 762 (set (make-local-variable 'thumbs-markedL) nil))
764 763
765(defvar thumbs-view-image-mode-map 764(defvar thumbs-view-image-mode-map
766 (let ((map (make-sparse-keymap))) 765 (let ((map (make-sparse-keymap)))
@@ -797,7 +796,5 @@ ACTION and ARG should be a valid convert command."
797 796
798(provide 'thumbs) 797(provide 'thumbs)
799 798
799;; arch-tag: f9ac1ef8-83fc-42c0-8069-1fae43fd2e5c
800;;; thumbs.el ends here 800;;; thumbs.el ends here
801
802
803;;; arch-tag: f9ac1ef8-83fc-42c0-8069-1fae43fd2e5c