summaryrefslogtreecommitdiff
path: root/lisp/thumbs.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2005-05-31 13:27:27 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2005-05-31 13:27:27 +0000
commitabceae284ab1804290e67bd1d8ac1b09a8b8a315 (patch)
treec274b02a0fa5e867c8cc17c037a5e72dddbe5e06 /lisp/thumbs.el
parentf2430a0de4a9df92c161a7166ba50b48c381fa59 (diff)
downloademacs-abceae284ab1804290e67bd1d8ac1b09a8b8a315.tar.gz
(thumbs-mode): Fix misuse of make-variable-buffer-local.
Diffstat (limited to 'lisp/thumbs.el')
-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."
(define-derived-mode thumbs-mode
fundamental-mode "thumbs"
"Preview images in a thumbnails buffer"
- (make-variable-buffer-local 'thumbs-markedL)
(setq buffer-read-only t)
- (setq thumbs-markedL nil))
+ (set (make-local-variable 'thumbs-markedL) nil))
(defvar thumbs-view-image-mode-map
(let ((map (make-sparse-keymap)))
@@ -797,7 +796,5 @@ ACTION and ARG should be a valid convert command."
(provide 'thumbs)
+;; arch-tag: f9ac1ef8-83fc-42c0-8069-1fae43fd2e5c
;;; thumbs.el ends here
-
-
-;;; arch-tag: f9ac1ef8-83fc-42c0-8069-1fae43fd2e5c