From: Thierry Volpiatto Date: Sat, 17 Jul 2010 21:35:19 +0000 (-0400) Subject: Do not set bookmark context for images (Bug#6650). X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~51^2~29 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f12492c863d47098bc0675d552083ab37ca321ad;p=emacs.git 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). --- 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)