aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Volpiatto2010-07-17 17:35:19 -0400
committerChong Yidong2010-07-17 17:35:19 -0400
commitf12492c863d47098bc0675d552083ab37ca321ad (patch)
treee049de0061571ea3850b3333612fa6cc4101c976
parent91023c68af851d22bf72d22538276a7f23e1970c (diff)
downloademacs-f12492c863d47098bc0675d552083ab37ca321ad.tar.gz
emacs-f12492c863d47098bc0675d552083ab37ca321ad.zip
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).
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/image-mode.el6
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 @@
12010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2
3 * image-mode.el (image-bookmark-make-record): Do not set context
4 in an image (Bug#6650).
5
12010-07-17 Chong Yidong <cyd@stupidchicken.com> 62010-07-17 Chong Yidong <cyd@stupidchicken.com>
2 7
3 * simple.el (select-active-region): New function. 8 * 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."
522(declare-function bookmark-default-handler "bookmark" (bmk)) 522(declare-function bookmark-default-handler "bookmark" (bmk))
523 523
524(defun image-bookmark-make-record () 524(defun image-bookmark-make-record ()
525 (nconc (bookmark-make-record-default) 525 `(,@(bookmark-make-record-default nil 'no-context 0)
526 `((image-type . ,image-type) 526 (image-type . ,image-type)
527 (handler . image-bookmark-jump)))) 527 (handler . image-bookmark-jump)))
528 528
529;;;###autoload 529;;;###autoload
530(defun image-bookmark-jump (bmk) 530(defun image-bookmark-jump (bmk)