Mercurial > emacs
changeset 109457:c581eca79ab5
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).
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 17 Jul 2010 17:35:19 -0400 |
parents | 406b2d52ff00 |
children | a2184d0e089b |
files | lisp/ChangeLog lisp/image-mode.el |
diffstat | 2 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Sat Jul 17 16:21:51 2010 -0400 +++ b/lisp/ChangeLog Sat Jul 17 17:35:19 2010 -0400 @@ -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.
--- a/lisp/image-mode.el Sat Jul 17 16:21:51 2010 -0400 +++ b/lisp/image-mode.el Sat Jul 17 17:35:19 2010 -0400 @@ -522,9 +522,9 @@ (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)