diff lisp/image-mode.el @ 109457:c581eca79ab5

Do not set bookmark context for images (Bug#6650). * lisp/image-mode.el (image-bookmark-make-record): Do not set context in an image (Bug#6650).
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 17 Jul 2010 17:35:19 -0400
parents fa4400531412
children a4b9fa0b861b
line wrap: on
line diff
--- a/lisp/image-mode.el	Sat Jul 17 16:21:51 2010 -0400
+++ b/lisp/image-mode.el	Sat Jul 17 17:35:19 2010 -0400
@@ -522,9 +522,9 @@
 (declare-function bookmark-default-handler "bookmark" (bmk))
 
 (defun image-bookmark-make-record ()
-  (nconc (bookmark-make-record-default)
-         `((image-type . ,image-type)
-           (handler    . image-bookmark-jump))))
+  `(,@(bookmark-make-record-default nil 'no-context 0)
+      (image-type . ,image-type)
+      (handler    . image-bookmark-jump)))
 
 ;;;###autoload
 (defun image-bookmark-jump (bmk)