# HG changeset patch # User Richard M. Stallman # Date 850704292 0 # Node ID c19089a334b2b5263e9683810943725c47a80e5d # Parent 9d008528c419ea2970d554720302fb860669d3c4 (describe-mode): Include minor modes that aren't buffer local. diff -r 9d008528c419 -r c19089a334b2 lisp/help.el --- a/lisp/help.el Mon Dec 16 02:44:07 1996 +0000 +++ b/lisp/help.el Mon Dec 16 02:44:52 1996 +0000 @@ -283,17 +283,14 @@ (interactive) (with-output-to-temp-buffer "*Help*" (let ((minor-modes minor-mode-alist) - (first t) - (locals (buffer-local-variables))) + (first t)) (while minor-modes (let* ((minor-mode (car (car minor-modes))) - (indicator (car (cdr (car minor-modes)))) - (local-binding (assq minor-mode locals))) + (indicator (car (cdr (car minor-modes))))) ;; Document a minor mode if it is listed in minor-mode-alist, ;; bound locally in this buffer, non-nil, and has a function ;; definition. - (if (and local-binding - (cdr local-binding) + (if (and (symbol-value minor-mode) (fboundp minor-mode)) (let ((pretty-minor-mode minor-mode)) (if (string-match "-mode$" (symbol-name minor-mode))