all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#6650: 24.0.50; image-mode.el Don't set context when bookmarking an image.
@ 2010-07-16  7:58 Thierry Volpiatto
  2010-07-17 21:35 ` Chong Yidong
  0 siblings, 1 reply; 2+ messages in thread
From: Thierry Volpiatto @ 2010-07-16  7:58 UTC (permalink / raw
  To: 6650

[-- Attachment #1: Type: text/plain, Size: 221 bytes --]

Hi all,
Take advantage of new args in `bookmark-make-record-default'.
Do not set context in an image avoid garbage in .emacs.bmk.

-- 
Thierry Volpiatto
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 

[-- Attachment #2: Initial-patch --]
[-- Type: application/octet-stream, Size: 962 bytes --]

# HG changeset patch
# User Thierry Volpiatto <thierry.volpiatto@gmail.com>
# Date 1279266895 -7200
# Node ID 02da903413fb2f47f4c9d5bf62d2afb671a2c030
# Parent  e469e8ed13edeecdcfb15fa819f99939ffc22277
* lisp/image-mode.el Don't set context when bookmarking an image.

(image-bookmark-make-record)
Take advantage of new args in `bookmark-make-record-default'.
Do not set context in an image avoid garbage in .emacs.bmk.

diff --git a/lisp/image-mode.el b/lisp/image-mode.el
--- a/lisp/image-mode.el
+++ b/lisp/image-mode.el
@@ -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)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#6650: 24.0.50; image-mode.el Don't set context when bookmarking an image.
  2010-07-16  7:58 bug#6650: 24.0.50; image-mode.el Don't set context when bookmarking an image Thierry Volpiatto
@ 2010-07-17 21:35 ` Chong Yidong
  0 siblings, 0 replies; 2+ messages in thread
From: Chong Yidong @ 2010-07-17 21:35 UTC (permalink / raw
  To: Thierry Volpiatto; +Cc: 6650-done

Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:

> Hi all,
> Take advantage of new args in `bookmark-make-record-default'.
> Do not set context in an image avoid garbage in .emacs.bmk.

Thanks, committed.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-07-17 21:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-16  7:58 bug#6650: 24.0.50; image-mode.el Don't set context when bookmarking an image Thierry Volpiatto
2010-07-17 21:35 ` Chong Yidong

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.