[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Messed up display of images in Emacs info reader
From: |
David Kastrup |
Subject: |
Messed up display of images in Emacs info reader |
Date: |
Sun, 06 Dec 2009 00:55:34 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
Hi, just submitted the following patch to emacs-devel. Hopefully it can
make it into Emacs 23.2.
Makes for quite more readable graphics...
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Messed up display of images in Emacs info reader,
David Kastrup <=