From f12492c863d47098bc0675d552083ab37ca321ad Mon Sep 17 00:00:00 2001 From: Thierry Volpiatto Date: Sat, 17 Jul 2010 17:35:19 -0400 Subject: [PATCH] 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/ChangeLog | 5 +++++ lisp/image-mode.el | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7aca9ba3ef9..a1bce7df595 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-07-17 Thierry Volpiatto + + * image-mode.el (image-bookmark-make-record): Do not set context + in an image (Bug#6650). + 2010-07-17 Chong Yidong * simple.el (select-active-region): New function. 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) -- 2.11.4.GIT