changeset 62927:bb23fe0bf1d3

(thumbs-mode): Fix misuse of make-variable-buffer-local.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 31 May 2005 13:27:27 +0000
parents 1cee97f4847c
children 8470359e501c
files lisp/thumbs.el
diffstat 1 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/thumbs.el	Tue May 31 13:26:21 2005 +0000
+++ b/lisp/thumbs.el	Tue May 31 13:27:27 2005 +0000
@@ -758,9 +758,8 @@
 (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 @@
 
 (provide 'thumbs)
 
+;; arch-tag: f9ac1ef8-83fc-42c0-8069-1fae43fd2e5c
 ;;; thumbs.el ends here
-
-
-;;; arch-tag: f9ac1ef8-83fc-42c0-8069-1fae43fd2e5c