all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Lowercase "arg" in doc strings.
@ 2006-05-22 13:33 Reiner Steib
  2006-05-22 14:52 ` Andreas Schwab
  2006-05-22 20:37 ` Richard Stallman
  0 siblings, 2 replies; 3+ messages in thread
From: Reiner Steib @ 2006-05-22 13:33 UTC (permalink / raw)


Hi,

`checkdoc-defun' complains that "Argument `arg' should appear (as ARG)
in the doc string" for some functions.  I'll install the patch below,
unless somebody objects.

Bye, Reiner.

Index: comint.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/comint.el,v
retrieving revision 1.344
diff -u -r1.344 comint.el
--- comint.el	10 May 2006 21:31:09 -0000	1.344
+++ comint.el	22 May 2006 13:26:35 -0000
@@ -2359,11 +2359,11 @@
 
 (defun comint-kill-whole-line (&optional arg)
   "Kill current line, ignoring read-only and field properties.
-With prefix arg, kill that many lines starting from the current line.
-If arg is negative, kill backward.  Also kill the preceding newline,
+With prefix ARG, kill that many lines starting from the current line.
+If ARG is negative, kill backward.  Also kill the preceding newline,
 instead of the trailing one.  \(This is meant to make \\[repeat] work well
 with negative arguments.)
-If arg is zero, kill current line but exclude the trailing newline.
+If ARG is zero, kill current line but exclude the trailing newline.
 The read-only status of newlines is updated with `comint-update-fence',
 if necessary."
   (interactive "p")
Index: disp-table.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/disp-table.el,v
retrieving revision 1.61
diff -u -r1.61 disp-table.el
--- disp-table.el	6 Feb 2006 14:33:32 -0000	1.61
+++ disp-table.el	22 May 2006 13:26:35 -0000
@@ -196,7 +196,7 @@
 variable, or else customize `enable-multibyte-characters'.
 
 With prefix argument, this command enables European character display
-if arg is positive, disables it otherwise.  Otherwise, it toggles
+if ARG is positive, disables it otherwise.  Otherwise, it toggles
 European character display.
 
 When this mode is enabled, characters in the range of 160 to 255
Index: files.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/files.el,v
retrieving revision 1.837
diff -u -r1.837 files.el
--- files.el	17 May 2006 22:54:35 -0000	1.837
+++ files.el	22 May 2006 13:26:35 -0000
@@ -3778,7 +3778,7 @@
 
 (defun toggle-read-only (&optional arg)
   "Change whether this buffer is visiting its file read-only.
-With arg, set read-only iff arg is positive.
+With ARG, set read-only iff ARG is positive.
 If visiting file read-only and `view-read-only' is non-nil, enter view mode."
   (interactive "P")
   (if (and arg
Index: flow-ctrl.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/flow-ctrl.el,v
retrieving revision 1.31
diff -u -r1.31 flow-ctrl.el
--- flow-ctrl.el	6 Feb 2006 14:33:33 -0000	1.31
+++ flow-ctrl.el	22 May 2006 13:26:35 -0000
@@ -56,7 +56,7 @@
 (defun enable-flow-control (&optional argument)
   "Toggle flow control handling.
 When handling is enabled, user can type C-s as C-\\, and C-q as C-^.
-With arg, enable flow control mode if arg is positive, otherwise disable."
+With ARG, enable flow control mode if ARG is positive, otherwise disable."
   (interactive "P")
   (if (if argument
 	  ;; Argument means enable if arg is positive.
Index: simple.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/simple.el,v
retrieving revision 1.804
diff -u -r1.804 simple.el
--- simple.el	21 May 2006 22:56:27 -0000	1.804
+++ simple.el	22 May 2006 13:26:36 -0000
@@ -4245,7 +4245,7 @@
 
 (defun toggle-truncate-lines (arg)
   "Toggle whether to fold or truncate long lines on the screen.
-With arg, truncate long lines iff arg is positive.
+With ARG, truncate long lines iff ARG is positive.
 Note that in side-by-side windows, truncation is always enabled."
   (interactive "P")
   (setq truncate-lines

-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-05-22 20:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-22 13:33 Lowercase "arg" in doc strings Reiner Steib
2006-05-22 14:52 ` Andreas Schwab
2006-05-22 20:37 ` Richard Stallman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.