]> git.eshelyaron.com Git - emacs.git/commitdiff
Document "ignored" arguments to keep checkdoc happy.
authorBill Wohler <wohler@newt.com>
Sat, 9 Jul 2011 20:25:54 +0000 (13:25 -0700)
committerBill Wohler <wohler@newt.com>
Sat, 9 Jul 2011 20:25:54 +0000 (13:25 -0700)
* mh-speed.el (mh-speed-toggle,mh-speed-view): Ditto
* mh-search.el (mh-flists-execute): Ditto.
* mh-funcs.el (mh-undo-folder): Ditto.
* mh-comp.el (mh-user-agent-compose): Ditto.

lisp/mh-e/ChangeLog
lisp/mh-e/mh-comp.el
lisp/mh-e/mh-funcs.el
lisp/mh-e/mh-search.el
lisp/mh-e/mh-speed.el

index 365c444d591ba68fe22b7c305f283e5c31e5ca62..ad9d77f2417fd74af3087045e0024e7fbd8eca86 100644 (file)
@@ -1,3 +1,18 @@
+2011-07-09  Bill Wohler  <wohler@newt.com>
+
+       * mh-speed.el (mh-speed-toggle,mh-speed-view): Document "ignored"
+       arguments to keep checkdoc happy.
+
+       * mh-search.el (mh-flists-execute): Ditto.
+
+       * mh-funcs.el (mh-undo-folder): Ditto.
+
+       * mh-comp.el (mh-user-agent-compose): Ditto.
+
+       * mh-xface.el (mh-face-to-png, mh-uncompface)
+       (mh-picon-file-contents): Only call set-buffer-multibyte if it
+       exists, which it doesn't in XEmacs.
+
 2011-07-04  Bill Wohler  <wohler@newt.com>
 
        * mh-e.el: Just require mh-loaddefs since loading it in an
index 1aa57316f50bbb6a4e9f23f906dbbdfcbc95d0e7..882a8771e28c17ad02744d4d57aadfd365e180b8 100644 (file)
@@ -213,7 +213,7 @@ Elements look like (HEADER . VALUE) where both HEADER and VALUE
 are strings.
 
 CONTINUE, SWITCH-FUNCTION, YANK-ACTION, SEND-ACTIONS, and
-RETURN-ACTION are ignored."
+RETURN-ACTION and any additional arguments are IGNORED."
   (mh-find-path)
   (let ((mh-error-if-no-draft t))
     (mh-send to "" subject)
index dfac684ed50285cb54c717b742221934a9742c3a..46a04c38845caa93bfcadd9d661a471ae4f03472 100644 (file)
@@ -349,7 +349,7 @@ See `mh-store-msg' for a description of DIRECTORY."
         (error "Error occurred during execution of %s" command)))))
 
 ;;;###mh-autoload
-(defun mh-undo-folder (&rest _ignored)
+(defun mh-undo-folder (&rest ignored)
   "Undo all refiles and deletes in the current folder.
 Arguments are IGNORED (for `revert-buffer')."
   (interactive)
index 1e764291f5d7818751bbfd901867657fe8f60a79..a547dd8d80a6e8fac7d881c5d62bb5382b8baed3 100644 (file)
@@ -454,12 +454,12 @@ search all folders."
 
 (defvar mh-flists-search-folders)
 
-(defun mh-flists-execute (&rest args)
+(defun mh-flists-execute (&rest ignored)
   "Execute flists.
 Search for messages belonging to `mh-flists-sequence' in the
 folders specified by `mh-flists-search-folders'. If
 `mh-recursive-folders-flag' is t, then the folders are searched
-recursively. All parameters ARGS are ignored."
+recursively. All arguments are IGNORED."
   (set-buffer (get-buffer-create mh-temp-index-buffer))
   (erase-buffer)
   (unless (executable-find "sh")
index b782081c85c3db64c0d8df8d039aaaf25c9ada3b..5c3679e8ce6d67c9a4bdea2aba499470e1f321f8 100644 (file)
@@ -126,9 +126,9 @@ With non-nil FORCE, the update is always carried out."
         ;; Otherwise on to your regular programming
         (t t)))
 
-(defun mh-speed-toggle (&rest args)
+(defun mh-speed-toggle (&rest ignored)
   "Toggle the display of child folders in the speedbar.
-The optional ARGS from speedbar are ignored."
+The optional arguments from speedbar are IGNORED."
   (interactive)
   (declare (ignore args))
   (beginning-of-line)
@@ -165,9 +165,9 @@ The optional ARGS from speedbar are ignored."
               (mh-line-beginning-position) (1+ (line-beginning-position))
               `(mh-expanded t)))))))
 
-(defun mh-speed-view (&rest args)
+(defun mh-speed-view (&rest ignored)
   "Visits the selected folder just as if you had used \\<mh-folder-mode-map>\\[mh-visit-folder].
-The optional ARGS from speedbar are ignored."
+The optional arguments from speedbar are IGNORED."
   (interactive)
   (declare (ignore args))
   (let* ((folder (get-text-property (mh-line-beginning-position) 'mh-folder))