From ea4cb857306236ca6f7b6514844ccdaa32d0ff65 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 3 Mar 2014 21:45:24 +0100 Subject: [PATCH] Return to deriving from special-mode Deriving from view-mode causes errors. --- avandu.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/avandu.el b/avandu.el index e45c548..a5890ef 100644 --- a/avandu.el +++ b/avandu.el @@ -205,7 +205,7 @@ arguments." (defvar avandu-article-mode-map (let ((map (make-sparse-keymap))) - (set-keymap-parent map view-mode-map) + (set-keymap-parent map special-mode-map) (define-key map (kbd "TAB") #'avandu-next-button) (define-key map (kbd "") #'avandu-previous-button) map) @@ -751,7 +751,7 @@ 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 view-mode "Avandu:Article" +(define-derived-mode avandu-article-mode special-mode "Avandu:Article" "Major mode for the avandu article screen. This screen shows the contents of an article.