diff options
-rw-r--r-- | lisp/ChangeLog | 5 | ||||
-rw-r--r-- | 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 <thierry.volpiatto@gmail.com> + + * image-mode.el (image-bookmark-make-record): Do not set context + in an image (Bug#6650). + 2010-07-17 Chong Yidong <cyd@stupidchicken.com> * 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) |