From 650851b907a658b73e601b8383f4d8c8833011c6 Mon Sep 17 00:00:00 2001 From: Davide Masserut Date: Mon, 25 Oct 2021 20:20:56 +0200 Subject: [PATCH] Add mode-class property where appropriate This commit adds the property `mode-class` with value `special` to `elfeed-search-mode` and `elfeed-show-mode`. According to the elisp docs every "special" mode should have this property. --- elfeed-search.el | 2 ++ elfeed-show.el | 2 ++ 2 files changed, 4 insertions(+) diff --git a/elfeed-search.el b/elfeed-search.el index d1d9b57..0caa643 100644 --- a/elfeed-search.el +++ b/elfeed-search.el @@ -206,6 +206,8 @@ When live editing the filter, it is bound to :live.") 'face 'elfeed-search-filter-face))) (""))))))) +(put 'elfeed-search-mode 'mode-class 'special) + (defun elfeed-search-mode () "Major mode for listing elfeed feed entries. \\{elfeed-search-mode-map}" diff --git a/elfeed-show.el b/elfeed-show.el index 4915cae..c8abe96 100644 --- a/elfeed-show.el +++ b/elfeed-show.el @@ -77,6 +77,8 @@ Called without arguments." (define-key map "P" #'elfeed-show-play-enclosure))) "Keymap for `elfeed-show-mode'.") +(put 'elfeed-show-mode 'mode-class 'special) + (defun elfeed-show-mode () "Mode for displaying Elfeed feed entries. \\{elfeed-show-mode-map}"