From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: 6650@debbugs.gnu.org
Subject: bug#6650: 24.0.50; image-mode.el Don't set context when bookmarking an image.
Date: Fri, 16 Jul 2010 09:58:57 +0200 [thread overview]
Message-ID: <871vb3503i.fsf@tux.homenetwork> (raw)
[-- 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)
next reply other threads:[~2010-07-16 7:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-16 7:58 Thierry Volpiatto [this message]
2010-07-17 21:35 ` bug#6650: 24.0.50; image-mode.el Don't set context when bookmarking an image Chong Yidong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871vb3503i.fsf@tux.homenetwork \
--to=thierry.volpiatto@gmail.com \
--cc=6650@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).