1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-07 20:54:32 +00:00

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).
This commit is contained in:
Thierry Volpiatto 2010-07-17 17:35:19 -04:00 committed by Chong Yidong
parent 91023c68af
commit f12492c863
2 changed files with 8 additions and 3 deletions

View File

@ -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.

View File

@ -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)