From: Lars Ingebrigtsen Date: Tue, 17 Apr 2018 17:34:40 +0000 (+0200) Subject: Make the `c' command work in a single-article Gnus view X-Git-Tag: emacs-27.0.90~5158 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=62a075b01678c6a6f5d2a69c9ea6904a3927f1b4;p=emacs.git Make the `c' command work in a single-article Gnus view * lisp/gnus/gnus-art.el (gnus-article-read-summary-keys): Make `c' work from the article buffer (bug#31195) when no summary buffer is shown. --- diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index 0b349ea2d22..869ff4e661f 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el @@ -6673,7 +6673,7 @@ not have a face in `gnus-article-boring-faces'." (interactive "P") (gnus-article-check-buffer) (let ((nosaves - '("q" "Q" "c" "r" "\C-c\C-f" "m" "a" "f" "WDD" "WDW" + '("q" "Q" "r" "\C-c\C-f" "m" "a" "f" "WDD" "WDW" "Zc" "ZC" "ZE" "ZQ" "ZZ" "Zn" "ZR" "ZG" "ZN" "ZP" "=" "^" "\M-^" "|")) (nosave-but-article @@ -6739,7 +6739,8 @@ not have a face in `gnus-article-boring-faces'." ;; We disable the pick minor mode commands. (setq func (let (gnus-pick-mode) (key-binding keys t))) - (when (get func 'disabled) + (when (and (symbolp func) + (get func 'disabled)) (error "Function %s disabled" func)) (if (and func (functionp func)