* info.el (Info-hide-cookies-node): Before hiding a cookie,

check if it already has the `display' property added by
`Info-display-images-node', and not put the `invisible' property
in this case.
This commit is contained in:
Juri Linkov 2009-12-14 05:09:08 +00:00
parent f192624c76
commit d3de1c8e9c
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2009-12-14 David Kastrup <dak@gnu.org>
* info.el (Info-hide-cookies-node): Before hiding a cookie,
check if it already has the `display' property added by
`Info-display-images-node', and not put the `invisible' property
in this case.
2009-12-14 Chong Yidong <cyd@stupidchicken.com>
* cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)

View file

@ -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)))