Function: newsticker--imenu-goto
newsticker--imenu-goto is a byte-compiled function defined in
newst-plainview.el.gz.
Signature
(newsticker--imenu-goto NAME POS &rest ARGS)
Documentation
Go to item NAME at position POS and show item.
ARGS are ignored.
Source Code
;; Defined in /usr/src/emacs/lisp/net/newst-plainview.el.gz
(defun newsticker--imenu-goto (_name pos &rest _args)
"Go to item NAME at position POS and show item.
ARGS are ignored."
(goto-char pos)
;; show headline
(newsticker--buffer-goto '(desc extra feed item))
(let* ((inhibit-read-only t)
(pos1 (max (point-min) (1- pos)))
(pos2 (max pos1 (1- (point))))
(inv-prop (get-text-property pos 'invisible))
(org-inv-prop (get-text-property pos 'org-invisible)))
(when (eq org-inv-prop nil)
(add-text-properties pos1 pos2 (list 'invisible nil
'org-invisible inv-prop))))
;; show desc
(newsticker-show-entry))