From f12492c863d47098bc0675d552083ab37ca321ad Mon Sep 17 00:00:00 2001 From: Thierry Volpiatto Date: Sat, 17 Jul 2010 17:35:19 -0400 Subject: 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). --- lisp/image-mode.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lisp/image-mode.el') diff --git a/lisp/image-mode.el b/lisp/image-mode.el index ca17569c91e..e202aca63b0 100644 --- a/lisp/image-mode.el +++ b/lisp/image-mode.el @@ -522,9 +522,9 @@ the image file and `image-mode' showing the image as an image." (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) -- cgit v1.2.1