diff lisp/emacs-lisp/checkdoc.el @ 104728:f0b66ed6123b

(checkdoc-force-history-flag): Change default, since most of our files don't have a history. (checkdoc-display-status-buffer): Don't use hidden buffers to show to the user.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sun, 30 Aug 2009 13:59:48 +0000
parents fd66344736c6
children bd2966850aac
line wrap: on
line diff
--- a/lisp/emacs-lisp/checkdoc.el	Sun Aug 30 05:22:50 2009 +0000
+++ b/lisp/emacs-lisp/checkdoc.el	Sun Aug 30 13:59:48 2009 +0000
@@ -218,7 +218,7 @@
   :type 'boolean)
 ;;;###autoload(put 'checkdoc-force-docstrings-flag 'safe-local-variable 'booleanp)
 
-(defcustom checkdoc-force-history-flag t
+(defcustom checkdoc-force-history-flag nil
   "Non-nil means that files should have a History section or ChangeLog file.
 This helps document the evolution of, and recent changes to, the package."
   :group 'checkdoc
@@ -511,7 +511,7 @@
 CHECK is a list of four strings stating the current status of each
 test; the nth string describes the status of the nth test."
   (let (temp-buffer-setup-hook)
-    (with-output-to-temp-buffer " *Checkdoc Status*"
+    (with-output-to-temp-buffer "*Checkdoc Status*"
       (princ-list
        "Buffer comments and tags:  " (nth 0 check) "\n"
        "Documentation style:       " (nth 1 check) "\n"
@@ -519,7 +519,7 @@
        "Unwanted Spaces:           " (nth 3 check)
        )))
   (shrink-window-if-larger-than-buffer
-   (get-buffer-window " *Checkdoc Status*"))
+   (get-buffer-window "*Checkdoc Status*"))
   (message nil)
   (sit-for 0))