Derive article mode from view mode

Since we are viewing an article, it seems more appropriate.
This commit is contained in:
Tom Willemse 2014-02-15 16:37:45 +01:00
parent 28a390e785
commit b3bf16c58b

View file

@ -701,14 +701,13 @@ doesn't sort the list, so you'll have to set that up in tt-rss.
avandu-overview-mode-name
(avandu-new-articles-count))))
(define-derived-mode avandu-article-mode special-mode
"Avandu:Article"
(define-derived-mode avandu-article-mode view-mode "Avandu:Article"
"Major mode for the avandu article screen.
This screen shows the contents of an article.
\\{avandu-overview-map}
\\<avandu-overview-map>")
\\{avandu-article-mode-map}
\\<avandu-article-mode-map>")
(defsubst avandu--feed-id (alist)
"Get a feed_id from ALIST."