(gnus-article-read-summary-keys): Protect against the key being bound to a lambda...
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 11 Jun 2012 23:03:24 +0000 (01:03 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 11 Jun 2012 23:03:24 +0000 (01:03 +0200)
lisp/ChangeLog
lisp/gnus-art.el

index a6e204a..20a586e 100644 (file)
@@ -1,3 +1,8 @@
+2012-06-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-art.el (gnus-article-read-summary-keys): Protect against the key
+       being bound to a lambda form.
+
 2012-04-14  Wolfgang Jenkner  <wjenkner@inode.at>
 
        * gnus-agent.el (gnus-agent-retrieve-headers): Recalculate the range of
index c673ccc..b92c3b6 100644 (file)
@@ -6525,7 +6525,8 @@ not have a face in `gnus-article-boring-faces'."
            (ding)
          (unless (member keys nosave-in-article)
            (set-buffer gnus-article-current-summary))
-         (when (get func 'disabled)
+         (when (and (symbolp func)
+                    (get func 'disabled))
            (error "Function %s disabled" func))
          (call-interactively func)
          (setq new-sum-point (point)))