[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fix info display of images
From: |
David Kastrup |
Subject: |
Fix info display of images |
Date: |
Sun, 06 Dec 2009 00:48:26 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
Hi,
the info images in the Lilypond documentation have a rather messed-up
display. That's more or less due to Emacs putting "invisible"
properties over image code indiscriminately.
I find that the following does help.
diff --git a/lisp/info.el b/lisp/info.el
index 1bd82ef..0d7686d 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -1446,7 +1446,8 @@ any double quotes or backslashes must be escaped
(\\\",\\\\)."
"\\(\0[\0-\37][[][^\0]*\0[\0-\37][]]\n?\\)"
nil t)
(let* ((start (match-beginning 1)))
- (if (not (get-text-property start 'invisible))
+ (if (and (not (get-text-property start 'invisible))
+ (not (get-text-property start 'display)))
(put-text-property start (point) 'invisible t)))))
(set-buffer-modified-p nil)))
--
David Kastrup
- Fix info display of images,
David Kastrup <=
- Re: Fix info display of images, Juri Linkov, 2009/12/07
- Re: Fix info display of images, David Kastrup, 2009/12/07
- Re: Fix info display of images, David Kastrup, 2009/12/13
- Re: Fix info display of images, Juri Linkov, 2009/12/13
- Re: Fix info display of images, Chong Yidong, 2009/12/13
- Ediff-patch-file with wrong default buffer (was: Fix info display of images), Juri Linkov, 2009/12/14
- Re: Ediff-patch-file with wrong default buffer (was: Fix info display of images), Michael Kifer, 2009/12/14
- Re: Ediff-patch-file with wrong default buffer, Juri Linkov, 2009/12/14
- Re: Ediff-patch-file with wrong default buffer, Michael Kifer, 2009/12/14
- Re: Ediff-patch-file with wrong default buffer, Juri Linkov, 2009/12/14