Function: newsticker-w3m-show-inline-images
newsticker-w3m-show-inline-images is an interactive and byte-compiled
function defined in newst-plainview.el.gz.
Signature
(newsticker-w3m-show-inline-images)
Documentation
Show inline images in visible text ranges.
In-line images in invisible text ranges are hidden. This function
calls w3m-toggle-inline-image. It works only if
newsticker-html-renderer is set to w3m-region.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/net/newst-plainview.el.gz
(defun newsticker-w3m-show-inline-images ()
"Show inline images in visible text ranges.
In-line images in invisible text ranges are hidden. This function
calls `w3m-toggle-inline-image'. It works only if
`newsticker-html-renderer' is set to `w3m-region'."
(interactive)
(if (eq newsticker-html-renderer 'w3m-region)
(let ((inhibit-read-only t))
(save-excursion
(save-restriction
(widen)
(goto-char (point-min))
(let ((pos (point)))
(while pos
(setq pos (next-single-property-change pos 'w3m-image))
(when pos
(goto-char pos)
(when (get-text-property pos 'w3m-image)
(unless (car (get-text-property (1- (point))
'display))
(unless (invisible-p (1- (point)))
(w3m-toggle-inline-image t))))))))))))