aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wohler2011-07-09 13:25:54 -0700
committerBill Wohler2011-07-09 13:25:54 -0700
commit972e3b728f7beced03bb337f727540c3f2c913f8 (patch)
tree7bc497a8b0fc06f07f5abecd759a345365d9e8b9
parent5a47220aaa77a27bf26e082789efe3c2da7fec9d (diff)
downloademacs-972e3b728f7beced03bb337f727540c3f2c913f8.tar.gz
emacs-972e3b728f7beced03bb337f727540c3f2c913f8.zip
Document "ignored" arguments to keep checkdoc happy.
* 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.
-rw-r--r--lisp/mh-e/ChangeLog15
-rw-r--r--lisp/mh-e/mh-comp.el2
-rw-r--r--lisp/mh-e/mh-funcs.el2
-rw-r--r--lisp/mh-e/mh-search.el4
-rw-r--r--lisp/mh-e/mh-speed.el8
5 files changed, 23 insertions, 8 deletions
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog
index 365c444d591..ad9d77f2417 100644
--- a/lisp/mh-e/ChangeLog
+++ b/lisp/mh-e/ChangeLog
@@ -1,3 +1,18 @@
12011-07-09 Bill Wohler <wohler@newt.com>
2
3 * mh-speed.el (mh-speed-toggle,mh-speed-view): Document "ignored"
4 arguments to keep checkdoc happy.
5
6 * mh-search.el (mh-flists-execute): Ditto.
7
8 * mh-funcs.el (mh-undo-folder): Ditto.
9
10 * mh-comp.el (mh-user-agent-compose): Ditto.
11
12 * mh-xface.el (mh-face-to-png, mh-uncompface)
13 (mh-picon-file-contents): Only call set-buffer-multibyte if it
14 exists, which it doesn't in XEmacs.
15
12011-07-04 Bill Wohler <wohler@newt.com> 162011-07-04 Bill Wohler <wohler@newt.com>
2 17
3 * mh-e.el: Just require mh-loaddefs since loading it in an 18 * mh-e.el: Just require mh-loaddefs since loading it in an
diff --git a/lisp/mh-e/mh-comp.el b/lisp/mh-e/mh-comp.el
index 1aa57316f50..882a8771e28 100644
--- a/lisp/mh-e/mh-comp.el
+++ b/lisp/mh-e/mh-comp.el
@@ -213,7 +213,7 @@ Elements look like (HEADER . VALUE) where both HEADER and VALUE
213are strings. 213are strings.
214 214
215CONTINUE, SWITCH-FUNCTION, YANK-ACTION, SEND-ACTIONS, and 215CONTINUE, SWITCH-FUNCTION, YANK-ACTION, SEND-ACTIONS, and
216RETURN-ACTION are ignored." 216RETURN-ACTION and any additional arguments are IGNORED."
217 (mh-find-path) 217 (mh-find-path)
218 (let ((mh-error-if-no-draft t)) 218 (let ((mh-error-if-no-draft t))
219 (mh-send to "" subject) 219 (mh-send to "" subject)
diff --git a/lisp/mh-e/mh-funcs.el b/lisp/mh-e/mh-funcs.el
index dfac684ed50..46a04c38845 100644
--- a/lisp/mh-e/mh-funcs.el
+++ b/lisp/mh-e/mh-funcs.el
@@ -349,7 +349,7 @@ See `mh-store-msg' for a description of DIRECTORY."
349 (error "Error occurred during execution of %s" command))))) 349 (error "Error occurred during execution of %s" command)))))
350 350
351;;;###mh-autoload 351;;;###mh-autoload
352(defun mh-undo-folder (&rest _ignored) 352(defun mh-undo-folder (&rest ignored)
353 "Undo all refiles and deletes in the current folder. 353 "Undo all refiles and deletes in the current folder.
354Arguments are IGNORED (for `revert-buffer')." 354Arguments are IGNORED (for `revert-buffer')."
355 (interactive) 355 (interactive)
diff --git a/lisp/mh-e/mh-search.el b/lisp/mh-e/mh-search.el
index 1e764291f5d..a547dd8d80a 100644
--- a/lisp/mh-e/mh-search.el
+++ b/lisp/mh-e/mh-search.el
@@ -454,12 +454,12 @@ search all folders."
454 454
455(defvar mh-flists-search-folders) 455(defvar mh-flists-search-folders)
456 456
457(defun mh-flists-execute (&rest args) 457(defun mh-flists-execute (&rest ignored)
458 "Execute flists. 458 "Execute flists.
459Search for messages belonging to `mh-flists-sequence' in the 459Search for messages belonging to `mh-flists-sequence' in the
460folders specified by `mh-flists-search-folders'. If 460folders specified by `mh-flists-search-folders'. If
461`mh-recursive-folders-flag' is t, then the folders are searched 461`mh-recursive-folders-flag' is t, then the folders are searched
462recursively. All parameters ARGS are ignored." 462recursively. All arguments are IGNORED."
463 (set-buffer (get-buffer-create mh-temp-index-buffer)) 463 (set-buffer (get-buffer-create mh-temp-index-buffer))
464 (erase-buffer) 464 (erase-buffer)
465 (unless (executable-find "sh") 465 (unless (executable-find "sh")
diff --git a/lisp/mh-e/mh-speed.el b/lisp/mh-e/mh-speed.el
index b782081c85c..5c3679e8ce6 100644
--- a/lisp/mh-e/mh-speed.el
+++ b/lisp/mh-e/mh-speed.el
@@ -126,9 +126,9 @@ With non-nil FORCE, the update is always carried out."
126 ;; Otherwise on to your regular programming 126 ;; Otherwise on to your regular programming
127 (t t))) 127 (t t)))
128 128
129(defun mh-speed-toggle (&rest args) 129(defun mh-speed-toggle (&rest ignored)
130 "Toggle the display of child folders in the speedbar. 130 "Toggle the display of child folders in the speedbar.
131The optional ARGS from speedbar are ignored." 131The optional arguments from speedbar are IGNORED."
132 (interactive) 132 (interactive)
133 (declare (ignore args)) 133 (declare (ignore args))
134 (beginning-of-line) 134 (beginning-of-line)
@@ -165,9 +165,9 @@ The optional ARGS from speedbar are ignored."
165 (mh-line-beginning-position) (1+ (line-beginning-position)) 165 (mh-line-beginning-position) (1+ (line-beginning-position))
166 `(mh-expanded t))))))) 166 `(mh-expanded t)))))))
167 167
168(defun mh-speed-view (&rest args) 168(defun mh-speed-view (&rest ignored)
169 "Visits the selected folder just as if you had used \\<mh-folder-mode-map>\\[mh-visit-folder]. 169 "Visits the selected folder just as if you had used \\<mh-folder-mode-map>\\[mh-visit-folder].
170The optional ARGS from speedbar are ignored." 170The optional arguments from speedbar are IGNORED."
171 (interactive) 171 (interactive)
172 (declare (ignore args)) 172 (declare (ignore args))
173 (let* ((folder (get-text-property (mh-line-beginning-position) 'mh-folder)) 173 (let* ((folder (get-text-property (mh-line-beginning-position) 'mh-folder))