summaryrefslogtreecommitdiff
path: root/lisp/image-mode.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2010-07-17 17:35:19 -0400
committerChong Yidong <cyd@stupidchicken.com>2010-07-17 17:35:19 -0400
commitf12492c863d47098bc0675d552083ab37ca321ad (patch)
treee049de0061571ea3850b3333612fa6cc4101c976 /lisp/image-mode.el
parent91023c68af851d22bf72d22538276a7f23e1970c (diff)
downloademacs-f12492c863d47098bc0675d552083ab37ca321ad.tar.gz
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).
Diffstat (limited to 'lisp/image-mode.el')
-rw-r--r--lisp/image-mode.el6
1 files changed, 3 insertions, 3 deletions
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)