aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2008-11-01 01:24:33 +0000
committerJuanma Barranquero2008-11-01 01:24:33 +0000
commit6cda144ffe7e8da08b15430072f3b112967d5281 (patch)
treeb1427bb1647e69581099a031db5321e6dc3b4b78
parent322ca65006295d1d7d405188fa324f66b4d3ec17 (diff)
downloademacs-6cda144ffe7e8da08b15430072f3b112967d5281.tar.gz
emacs-6cda144ffe7e8da08b15430072f3b112967d5281.zip
Fix typos in docstrings.
* cus-edit.el (customize-apropos-options, custom-comment) (custom-comment-tag, custom-face-edit-attribute-tag): Fix typos in docstrings. (custom-buffer-done-kill): Remove * from defcustom docstring. (custom-file): Fix typo in doc of defcustom choice. * frame.el (display-visual-class): Fix typo in docstring. (initial-frame-alist, minibuffer-frame-alist, pop-up-frame-alist) (special-display-frame-alist, show-trailing-whitespace) (auto-hscroll-mode, blink-cursor-delay, blink-cursor-interval) (display-hourglass, hourglass-delay, cursor-in-non-selected-windows): Remove * from defcustom docstrings. * md4.el (md4-buffer): Fix typo in docstring. (md4, md4-64): Doc fixes. (md4-pack-int32): Reflow docstring. * paths.el (rmail-file-name): Remove * from defcustom docstring. (prune-directory-list, gnus-nntp-service): Fix typos in docstrings. * rect.el (open-rectangle): Reflow docstring. (spaces-string): Fix docstring typo. Use "?\s" instead of "? ". * select.el (x-get-cut-buffer): Fix typo in docstring. * timezone.el (timezone-zone-to-minute, timezone-time-from-absolute) (timezone-time-zone-from-absolute, timezone-leap-year-p): Fix typos in docstrings. * emacs-lisp/assoc.el (asort, aelement, aput, aget, amake): Fix typos in docstrings.
-rw-r--r--lisp/ChangeLog34
-rw-r--r--lisp/cus-edit.el12
-rw-r--r--lisp/emacs-lisp/assoc.el18
-rw-r--r--lisp/frame.el28
-rw-r--r--lisp/md4.el17
-rw-r--r--lisp/paths.el6
-rw-r--r--lisp/rect.el8
-rw-r--r--lisp/select.el2
-rw-r--r--lisp/timezone.el8
9 files changed, 85 insertions, 48 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 0f89416376e..787ad8b9545 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,37 @@
12008-11-01 Juanma Barranquero <lekktu@gmail.com>
2
3 * cus-edit.el (customize-apropos-options, custom-comment)
4 (custom-comment-tag, custom-face-edit-attribute-tag):
5 Fix typos in docstrings.
6 (custom-buffer-done-kill): Remove * from defcustom docstring.
7 (custom-file): Fix typo in doc of defcustom choice.
8
9 * frame.el (display-visual-class): Fix typo in docstring.
10 (initial-frame-alist, minibuffer-frame-alist, pop-up-frame-alist)
11 (special-display-frame-alist, show-trailing-whitespace)
12 (auto-hscroll-mode, blink-cursor-delay, blink-cursor-interval)
13 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
14 Remove * from defcustom docstrings.
15
16 * md4.el (md4-buffer): Fix typo in docstring.
17 (md4, md4-64): Doc fixes.
18 (md4-pack-int32): Reflow docstring.
19
20 * paths.el (rmail-file-name): Remove * from defcustom docstring.
21 (prune-directory-list, gnus-nntp-service): Fix typos in docstrings.
22
23 * rect.el (open-rectangle): Reflow docstring.
24 (spaces-string): Fix docstring typo. Use "?\s" instead of "? ".
25
26 * select.el (x-get-cut-buffer): Fix typo in docstring.
27
28 * timezone.el (timezone-zone-to-minute, timezone-time-from-absolute)
29 (timezone-time-zone-from-absolute, timezone-leap-year-p):
30 Fix typos in docstrings.
31
32 * emacs-lisp/assoc.el (asort, aelement, aput, aget, amake):
33 Fix typos in docstrings.
34
12008-10-31 Ulf Jasper <ulf.jasper@web.de> 352008-10-31 Ulf Jasper <ulf.jasper@web.de>
2 36
3 * net/newst-backend.el (newsticker--cache-update): Fix no-save case. 37 * net/newst-backend.el (newsticker--cache-update): Fix no-save case.
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el
index 2e322606d52..c32dba5bbe2 100644
--- a/lisp/cus-edit.el
+++ b/lisp/cus-edit.el
@@ -1426,7 +1426,7 @@ that are not customizable options, as well as faces and groups
1426;;;###autoload 1426;;;###autoload
1427(defun customize-apropos-options (regexp &optional arg) 1427(defun customize-apropos-options (regexp &optional arg)
1428 "Customize all loaded customizable options matching REGEXP. 1428 "Customize all loaded customizable options matching REGEXP.
1429With prefix arg, include variables that are not customizable options 1429With prefix ARG, include variables that are not customizable options
1430\(but it is better to use `apropos-variable' if you want to find those)." 1430\(but it is better to use `apropos-variable' if you want to find those)."
1431 (interactive "sCustomize options (regexp): \nP") 1431 (interactive "sCustomize options (regexp): \nP")
1432 (customize-apropos regexp (or arg 'options))) 1432 (customize-apropos regexp (or arg 'options)))
@@ -1456,7 +1456,7 @@ links: groups have links to subgroups."
1456 :group 'custom-buffer) 1456 :group 'custom-buffer)
1457 1457
1458(defcustom custom-buffer-done-kill nil 1458(defcustom custom-buffer-done-kill nil
1459 "*Non-nil means exiting a Custom buffer should kill it." 1459 "Non-nil means exiting a Custom buffer should kill it."
1460 :type 'boolean 1460 :type 'boolean
1461 :version "22.1" 1461 :version "22.1"
1462 :group 'custom-buffer) 1462 :group 'custom-buffer)
@@ -2363,7 +2363,7 @@ If INITIAL-STRING is non-nil, use that rather than \"Parent groups:\"."
2363 :background "dim gray") 2363 :background "dim gray")
2364 (t 2364 (t
2365 :slant italic)) 2365 :slant italic))
2366 "Face used for comments on variables or faces" 2366 "Face used for comments on variables or faces."
2367 :version "21.1" 2367 :version "21.1"
2368 :group 'custom-faces) 2368 :group 'custom-faces)
2369;; backward-compatibility alias 2369;; backward-compatibility alias
@@ -2378,7 +2378,7 @@ If INITIAL-STRING is non-nil, use that rather than \"Parent groups:\"."
2378 (((class grayscale) (background dark)) 2378 (((class grayscale) (background dark))
2379 (:foreground "LightGray" :weight bold :slant italic)) 2379 (:foreground "LightGray" :weight bold :slant italic))
2380 (t (:weight bold))) 2380 (t (:weight bold)))
2381 "Face used for variables or faces comment tags" 2381 "Face used for variables or faces comment tags."
2382 :group 'custom-faces) 2382 :group 'custom-faces)
2383;; backward-compatibility alias 2383;; backward-compatibility alias
2384(put 'custom-comment-tag-face 'face-alias 'custom-comment-tag) 2384(put 'custom-comment-tag-face 'face-alias 'custom-comment-tag)
@@ -3115,7 +3115,7 @@ Also change :reverse-video to :inverse-video."
3115 3115
3116 3116
3117(defun custom-face-edit-attribute-tag (widget) 3117(defun custom-face-edit-attribute-tag (widget)
3118 "Returns the first :tag property in WIDGET or one of its children." 3118 "Return the first :tag property in WIDGET or one of its children."
3119 (let ((tag (widget-get widget :tag))) 3119 (let ((tag (widget-get widget :tag)))
3120 (or (and (not (equal tag "")) tag) 3120 (or (and (not (equal tag "")) tag)
3121 (let ((children (widget-get widget :children))) 3121 (let ((children (widget-get widget :children)))
@@ -4230,7 +4230,7 @@ and hence will not set `custom-file' to that file either."
4230 :doc 4230 :doc
4231 "Please read entire docstring below before setting \ 4231 "Please read entire docstring below before setting \
4232this through Custom. 4232this through Custom.
4233Click om \"More\" \(or position point there and press RETURN) 4233Click on \"More\" \(or position point there and press RETURN)
4234if only the first line of the docstring is shown.")) 4234if only the first line of the docstring is shown."))
4235 :group 'customize) 4235 :group 'customize)
4236 4236
diff --git a/lisp/emacs-lisp/assoc.el b/lisp/emacs-lisp/assoc.el
index 1f9eb8f2c54..4c3117dbbfa 100644
--- a/lisp/emacs-lisp/assoc.el
+++ b/lisp/emacs-lisp/assoc.el
@@ -30,7 +30,7 @@
30 30
31(defun asort (alist-symbol key) 31(defun asort (alist-symbol key)
32 "Move a specified key-value pair to the head of an alist. 32 "Move a specified key-value pair to the head of an alist.
33The alist is referenced by ALIST-SYMBOL. Key-value pair to move to 33The alist is referenced by ALIST-SYMBOL. Key-value pair to move to
34head is one matching KEY. Returns the sorted list and doesn't affect 34head is one matching KEY. Returns the sorted list and doesn't affect
35the order of any other key-value pair. Side effect sets alist to new 35the order of any other key-value pair. Side effect sets alist to new
36sorted list." 36sorted list."
@@ -40,7 +40,7 @@ sorted list."
40 40
41 41
42(defun aelement (key value) 42(defun aelement (key value)
43 "Makes a list of a cons cell containing car of KEY and cdr of VALUE. 43 "Make a list of a cons cell containing car of KEY and cdr of VALUE.
44The returned list is suitable as an element of an alist." 44The returned list is suitable as an element of an alist."
45 (list (cons key value))) 45 (list (cons key value)))
46 46
@@ -61,14 +61,14 @@ pair is not at the head of alist. ALIST is not altered."
61 61
62(defun aput (alist-symbol key &optional value) 62(defun aput (alist-symbol key &optional value)
63 "Inserts a key-value pair into an alist. 63 "Inserts a key-value pair into an alist.
64The alist is referenced by ALIST-SYMBOL. The key-value pair is made 64The alist is referenced by ALIST-SYMBOL. The key-value pair is made
65from KEY and optionally, VALUE. Returns the altered alist or nil if 65from KEY and optionally, VALUE. Returns the altered alist or nil if
66ALIST is nil. 66ALIST is nil.
67 67
68If the key-value pair referenced by KEY can be found in the alist, and 68If the key-value pair referenced by KEY can be found in the alist, and
69VALUE is supplied non-nil, then the value of KEY will be set to VALUE. 69VALUE is supplied non-nil, then the value of KEY will be set to VALUE.
70If VALUE is not supplied, or is nil, the key-value pair will not be 70If VALUE is not supplied, or is nil, the key-value pair will not be
71modified, but will be moved to the head of the alist. If the key-value 71modified, but will be moved to the head of the alist. If the key-value
72pair cannot be found in the alist, it will be inserted into the head 72pair cannot be found in the alist, it will be inserted into the head
73of the alist (with value nil if VALUE is nil or not supplied)." 73of the alist (with value nil if VALUE is nil or not supplied)."
74 (let ((elem (aelement key value)) 74 (let ((elem (aelement key value))
@@ -93,14 +93,14 @@ is pair matching KEY. Returns the altered alist."
93 93
94 94
95(defun aget (alist key &optional keynil-p) 95(defun aget (alist key &optional keynil-p)
96 "Returns the value in ALIST that is associated with KEY. 96 "Return the value in ALIST that is associated with KEY.
97Optional KEYNIL-P describes what to do if the value associated with 97Optional KEYNIL-P describes what to do if the value associated with
98KEY is nil. If KEYNIL-P is not supplied or is nil, and the value is 98KEY is nil. If KEYNIL-P is not supplied or is nil, and the value is
99nil, then KEY is returned. If KEYNIL-P is non-nil, then nil would be 99nil, then KEY is returned. If KEYNIL-P is non-nil, then nil would be
100returned. 100returned.
101 101
102If no key-value pair matching KEY could be found in ALIST, or ALIST is 102If no key-value pair matching KEY could be found in ALIST, or ALIST is
103nil then nil is returned. ALIST is not altered." 103nil then nil is returned. ALIST is not altered."
104 (let ((copy (copy-alist alist))) 104 (let ((copy (copy-alist alist)))
105 (cond ((null alist) nil) 105 (cond ((null alist) nil)
106 ((progn (asort 'copy key) 106 ((progn (asort 'copy key)
@@ -114,8 +114,8 @@ nil then nil is returned. ALIST is not altered."
114(defun amake (alist-symbol keylist &optional valuelist) 114(defun amake (alist-symbol keylist &optional valuelist)
115 "Make an association list. 115 "Make an association list.
116The association list is attached to the alist referenced by 116The association list is attached to the alist referenced by
117ALIST-SYMBOL. Each element in the KEYLIST becomes a key and is 117ALIST-SYMBOL. Each element in the KEYLIST becomes a key and is
118associated with the value in VALUELIST with the same index. If 118associated with the value in VALUELIST with the same index. If
119VALUELIST is not supplied or is nil, then each key in KEYLIST is 119VALUELIST is not supplied or is nil, then each key in KEYLIST is
120associated with nil. 120associated with nil.
121 121
diff --git a/lisp/frame.el b/lisp/frame.el
index ae0803d6a8d..e2609ba259d 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -51,7 +51,7 @@ Parameters specified here supersede the values given in `default-frame-alist'.")
51;; But that's not necessary, because the default is to have one. 51;; But that's not necessary, because the default is to have one.
52;; By not specifying it here, we let an X resource specify it. 52;; By not specifying it here, we let an X resource specify it.
53(defcustom initial-frame-alist nil 53(defcustom initial-frame-alist nil
54 "*Alist of frame parameters for creating the initial X window frame. 54 "Alist of frame parameters for creating the initial X window frame.
55You can set this in your `.emacs' file; for example, 55You can set this in your `.emacs' file; for example,
56 (setq initial-frame-alist '((top . 1) (left . 1) (width . 80) (height . 55))) 56 (setq initial-frame-alist '((top . 1) (left . 1) (width . 80) (height . 55)))
57Parameters specified here supersede the values given in `default-frame-alist'. 57Parameters specified here supersede the values given in `default-frame-alist'.
@@ -76,7 +76,7 @@ as it appears, you need to use this three-step process:
76 :group 'frames) 76 :group 'frames)
77 77
78(defcustom minibuffer-frame-alist '((width . 80) (height . 2)) 78(defcustom minibuffer-frame-alist '((width . 80) (height . 2))
79 "*Alist of frame parameters for initially creating a minibuffer frame. 79 "Alist of frame parameters for initially creating a minibuffer frame.
80You can set this in your `.emacs' file; for example, 80You can set this in your `.emacs' file; for example,
81 (setq minibuffer-frame-alist 81 (setq minibuffer-frame-alist
82 '((top . 1) (left . 1) (width . 80) (height . 2))) 82 '((top . 1) (left . 1) (width . 80) (height . 2)))
@@ -88,7 +88,7 @@ Parameters specified here supersede the values given in
88 :group 'frames) 88 :group 'frames)
89 89
90(defcustom pop-up-frame-alist nil 90(defcustom pop-up-frame-alist nil
91 "*Alist of frame parameters used when creating pop-up frames. 91 "Alist of frame parameters used when creating pop-up frames.
92Pop-up frames are used for completions, help, and the like. 92Pop-up frames are used for completions, help, and the like.
93This variable can be set in your init file, like this: 93This variable can be set in your init file, like this:
94 (setq pop-up-frame-alist '((width . 80) (height . 20))) 94 (setq pop-up-frame-alist '((width . 80) (height . 20)))
@@ -108,7 +108,7 @@ It is called with no arguments and should return a newly created frame."
108 108
109(defcustom special-display-frame-alist 109(defcustom special-display-frame-alist
110 '((height . 14) (width . 80) (unsplittable . t)) 110 '((height . 14) (width . 80) (unsplittable . t))
111 "*Alist of frame parameters used when creating special frames. 111 "Alist of frame parameters used when creating special frames.
112Special frames are used for buffers whose names are in 112Special frames are used for buffers whose names are in
113`special-display-buffer-names' and for buffers whose names match 113`special-display-buffer-names' and for buffers whose names match
114one of the regular expressions in `special-display-regexps'. 114one of the regular expressions in `special-display-regexps'.
@@ -1107,7 +1107,7 @@ To get the frame's current border color, use `frame-parameters'."
1107 1107
1108(defun auto-raise-mode (arg) 1108(defun auto-raise-mode (arg)
1109 "Toggle whether or not the selected frame should auto-raise. 1109 "Toggle whether or not the selected frame should auto-raise.
1110With arg, turn auto-raise mode on if and only if arg is positive. 1110With ARG, turn auto-raise mode on if and only if ARG is positive.
1111Note that this controls Emacs's own auto-raise feature. 1111Note that this controls Emacs's own auto-raise feature.
1112Some window managers allow you to enable auto-raise for certain windows. 1112Some window managers allow you to enable auto-raise for certain windows.
1113You can use that for Emacs windows if you wish, but if you do, 1113You can use that for Emacs windows if you wish, but if you do,
@@ -1124,7 +1124,7 @@ that is beyond the control of Emacs and this command has no effect on it."
1124 1124
1125(defun auto-lower-mode (arg) 1125(defun auto-lower-mode (arg)
1126 "Toggle whether or not the selected frame should auto-lower. 1126 "Toggle whether or not the selected frame should auto-lower.
1127With arg, turn auto-lower mode on if and only if arg is positive. 1127With ARG, turn auto-lower mode on if and only if ARG is positive.
1128Note that this controls Emacs's own auto-lower feature. 1128Note that this controls Emacs's own auto-lower feature.
1129Some window managers allow you to enable auto-lower for certain windows. 1129Some window managers allow you to enable auto-lower for certain windows.
1130You can use that for Emacs windows if you wish, but if you do, 1130You can use that for Emacs windows if you wish, but if you do,
@@ -1364,7 +1364,7 @@ the question is inapplicable to a certain kind of display."
1364(declare-function x-display-visual-class "xfns.c" (&optional terminal)) 1364(declare-function x-display-visual-class "xfns.c" (&optional terminal))
1365 1365
1366(defun display-visual-class (&optional display) 1366(defun display-visual-class (&optional display)
1367 "Returns the visual class of DISPLAY. 1367 "Return the visual class of DISPLAY.
1368The value is one of the symbols `static-gray', `gray-scale', 1368The value is one of the symbols `static-gray', `gray-scale',
1369`static-color', `pseudo-color', `true-color', or `direct-color'." 1369`static-color', `pseudo-color', `true-color', or `direct-color'."
1370 (let ((frame-type (framep-on-display display))) 1370 (let ((frame-type (framep-on-display display)))
@@ -1491,7 +1491,7 @@ left untouched. FRAME nil or omitted means use the selected frame."
1491(make-variable-buffer-local 'show-trailing-whitespace) 1491(make-variable-buffer-local 'show-trailing-whitespace)
1492 1492
1493(defcustom show-trailing-whitespace nil 1493(defcustom show-trailing-whitespace nil
1494 "*Non-nil means highlight trailing whitespace. 1494 "Non-nil means highlight trailing whitespace.
1495This is done in the face `trailing-whitespace'." 1495This is done in the face `trailing-whitespace'."
1496 :type 'boolean 1496 :type 'boolean
1497 :group 'whitespace-faces) 1497 :group 'whitespace-faces)
@@ -1506,7 +1506,7 @@ This is done in the face `trailing-whitespace'."
1506 :group 'frames) 1506 :group 'frames)
1507 1507
1508(defcustom auto-hscroll-mode t 1508(defcustom auto-hscroll-mode t
1509 "*Allow or disallow automatic scrolling windows horizontally. 1509 "Allow or disallow automatic scrolling windows horizontally.
1510If non-nil, windows are automatically scrolled horizontally to make 1510If non-nil, windows are automatically scrolled horizontally to make
1511point visible." 1511point visible."
1512 :version "21.1" 1512 :version "21.1"
@@ -1523,12 +1523,12 @@ point visible."
1523 :group 'frames) 1523 :group 'frames)
1524 1524
1525(defcustom blink-cursor-delay 0.5 1525(defcustom blink-cursor-delay 0.5
1526 "*Seconds of idle time after which cursor starts to blink." 1526 "Seconds of idle time after which cursor starts to blink."
1527 :type 'number 1527 :type 'number
1528 :group 'cursor) 1528 :group 'cursor)
1529 1529
1530(defcustom blink-cursor-interval 0.5 1530(defcustom blink-cursor-interval 0.5
1531 "*Length of cursor blink interval in seconds." 1531 "Length of cursor blink interval in seconds."
1532 :type 'number 1532 :type 'number
1533 :group 'cursor) 1533 :group 'cursor)
1534 1534
@@ -1602,20 +1602,20 @@ cursor display. On a text-only terminal, this is not implemented."
1602;; Hourglass pointer 1602;; Hourglass pointer
1603 1603
1604(defcustom display-hourglass t 1604(defcustom display-hourglass t
1605 "*Non-nil means show an hourglass pointer, when Emacs is busy. 1605 "Non-nil means show an hourglass pointer, when Emacs is busy.
1606This feature only works when on a window system that can change 1606This feature only works when on a window system that can change
1607cursor shapes." 1607cursor shapes."
1608 :type 'boolean 1608 :type 'boolean
1609 :group 'cursor) 1609 :group 'cursor)
1610 1610
1611(defcustom hourglass-delay 1 1611(defcustom hourglass-delay 1
1612 "*Seconds to wait before displaying an hourglass pointer when Emacs is busy." 1612 "Seconds to wait before displaying an hourglass pointer when Emacs is busy."
1613 :type 'number 1613 :type 'number
1614 :group 'cursor) 1614 :group 'cursor)
1615 1615
1616 1616
1617(defcustom cursor-in-non-selected-windows t 1617(defcustom cursor-in-non-selected-windows t
1618 "*Non-nil means show a hollow box cursor in non-selected windows. 1618 "Non-nil means show a hollow box cursor in non-selected windows.
1619If nil, don't show a cursor except in the selected window. 1619If nil, don't show a cursor except in the selected window.
1620If t, display a cursor related to the usual cursor type 1620If t, display a cursor related to the usual cursor type
1621 \(a solid box becomes hollow, a bar becomes a narrower bar). 1621 \(a solid box becomes hollow, a bar becomes a narrower bar).
diff --git a/lisp/md4.el b/lisp/md4.el
index aab839318e6..58d246ec006 100644
--- a/lisp/md4.el
+++ b/lisp/md4.el
@@ -28,11 +28,12 @@
28;;; MD4 hash calculation 28;;; MD4 hash calculation
29 29
30(defvar md4-buffer (make-vector 4 '(0 . 0)) 30(defvar md4-buffer (make-vector 4 '(0 . 0))
31 "work buffer of four 32-bit integers") 31 "Work buffer of four 32-bit integers.")
32 32
33(defun md4 (in n) 33(defun md4 (in n)
34 "Returns the MD4 hash string of 16 bytes long for a string IN of N 34 "Return the MD4 hash for a string IN of length N bytes.
35bytes long. N is required to handle strings containing character 0." 35The returned hash is 16 bytes long. N is required to handle
36strings containing the character 0."
36 (let (m 37 (let (m
37 (b (cons 0 (* n 8))) 38 (b (cons 0 (* n 8)))
38 (i 0) 39 (i 0)
@@ -115,8 +116,9 @@ bytes long. N is required to handle strings containing character 0."
115 (cons (logand (car x) (car y)) (logand (cdr x) (cdr y)))) 116 (cons (logand (car x) (car y)) (logand (cdr x) (cdr y))))
116 117
117(defun md4-64 (m) 118(defun md4-64 (m)
118 "Calculate md4 of 64 bytes chunk M which is represented as 16 pairs of 119 "Calculate MD4 hash of M.
11932 bits integers. The resulting md4 value is placed in md4-buffer." 120M is a 64-bytes chunk, represented as 16 pairs of 32-bit integers.
121The resulting MD4 value is placed in `md4-buffer'."
120 (let ((a (aref md4-buffer 0)) 122 (let ((a (aref md4-buffer 0))
121 (b (aref md4-buffer 1)) 123 (b (aref md4-buffer 1))
122 (c (aref md4-buffer 2)) 124 (c (aref md4-buffer 2))
@@ -199,8 +201,9 @@ bytes long. N is required to handle strings containing character 0."
199 str)) 201 str))
200 202
201(defun md4-pack-int32 (int32) 203(defun md4-pack-int32 (int32)
202 "Pack 32 bits integer in a 4 bytes string as little endian. A 32 bits 204 "Pack 32 bits integer in a 4 bytes string as little endian.
203integer is represented as a pair of two 16 bits integers (cons high low)." 205A 32 bits integer is represented as a pair of two 16 bits
206integers (cons high low)."
204 (let ((str (make-string 4 0)) 207 (let ((str (make-string 4 0))
205 (h (car int32)) (l (cdr int32))) 208 (h (car int32)) (l (cdr int32)))
206 (aset str 0 (logand l 255)) 209 (aset str 0 (logand l 255))
diff --git a/lisp/paths.el b/lisp/paths.el
index 2dc1f977cb7..ff49640855a 100644
--- a/lisp/paths.el
+++ b/lisp/paths.el
@@ -36,7 +36,7 @@
36;; DOC file rather than in memory. 36;; DOC file rather than in memory.
37 37
38(defun prune-directory-list (dirs &optional keep reject) 38(defun prune-directory-list (dirs &optional keep reject)
39 "Returns a copy of DIRS with all non-existent directories removed. 39 "Return a copy of DIRS with all non-existent directories removed.
40The optional argument KEEP is a list of directories to retain even if 40The optional argument KEEP is a list of directories to retain even if
41they don't exist, and REJECT is a list of directories to remove from 41they don't exist, and REJECT is a list of directories to remove from
42DIRS, even if they exist; REJECT takes precedence over KEEP. 42DIRS, even if they exist; REJECT takes precedence over KEEP.
@@ -122,7 +122,7 @@ The name of the host running an NNTP server.
122The null string means use the local host as the server site.") 122The null string means use the local host as the server site.")
123 123
124(defvar gnus-nntp-service "nntp" 124(defvar gnus-nntp-service "nntp"
125 "NNTP service name, usually \"nntp\" or 119). 125 "NNTP service name, usually \"nntp\" or 119.
126Go to a local news spool if its value is nil, in which case `gnus-nntp-server' 126Go to a local news spool if its value is nil, in which case `gnus-nntp-server'
127should be set to `(system-name)'.") 127should be set to `(system-name)'.")
128 128
@@ -131,7 +131,7 @@ should be set to `(system-name)'.")
131The `ORGANIZATION' environment variable is used instead if defined.") 131The `ORGANIZATION' environment variable is used instead if defined.")
132 132
133(defcustom rmail-file-name "~/RMAIL" 133(defcustom rmail-file-name "~/RMAIL"
134 "*Name of user's primary mail file." 134 "Name of user's primary mail file."
135 :type 'string 135 :type 'string
136 :group 'rmail 136 :group 'rmail
137 :version "21.1") 137 :version "21.1")
diff --git a/lisp/rect.el b/lisp/rect.el
index 594405716ee..c59415c2c0f 100644
--- a/lisp/rect.el
+++ b/lisp/rect.el
@@ -187,9 +187,9 @@ the function is called."
187 187
188;; this one is untouched --dv 188;; this one is untouched --dv
189(defun spaces-string (n) 189(defun spaces-string (n)
190 "Returns a string with N spaces." 190 "Return a string with N spaces."
191 (if (<= n 8) (aref spaces-strings n) 191 (if (<= n 8) (aref spaces-strings n)
192 (make-string n ? ))) 192 (make-string n ?\s)))
193 193
194;;;###autoload 194;;;###autoload
195(defun delete-rectangle (start end &optional fill) 195(defun delete-rectangle (start end &optional fill)
@@ -290,8 +290,8 @@ The text previously in the region is not overwritten by the blanks,
290but instead winds up to the right of the rectangle. 290but instead winds up to the right of the rectangle.
291 291
292When called from a program the rectangle's corners are START and END. 292When called from a program the rectangle's corners are START and END.
293With a prefix (or a FILL) argument, fill with blanks even if there is no text 293With a prefix (or a FILL) argument, fill with blanks even if there is
294on the right side of the rectangle." 294no text on the right side of the rectangle."
295 (interactive "*r\nP") 295 (interactive "*r\nP")
296 (apply-on-rectangle 'open-rectangle-line start end fill) 296 (apply-on-rectangle 'open-rectangle-line start end fill)
297 (goto-char start)) 297 (goto-char start))
diff --git a/lisp/select.el b/lisp/select.el
index 96800039508..e4c3addc699 100644
--- a/lisp/select.el
+++ b/lisp/select.el
@@ -182,7 +182,7 @@ prefix argument, it uses the text of the region as the selection value ."
182(declare-function x-get-cut-buffer-internal "xselect.c") 182(declare-function x-get-cut-buffer-internal "xselect.c")
183 183
184(defun x-get-cut-buffer (&optional which-one) 184(defun x-get-cut-buffer (&optional which-one)
185 "Returns the value of one of the 8 X server cut-buffers. 185 "Return the value of one of the 8 X server cut-buffers.
186Optional arg WHICH-ONE should be a number from 0 to 7, defaulting to 0. 186Optional arg WHICH-ONE should be a number from 0 to 7, defaulting to 0.
187Cut buffers are considered obsolete; you should use selections instead." 187Cut buffers are considered obsolete; you should use selections instead."
188 (x-get-cut-buffer-internal 188 (x-get-cut-buffer-internal
diff --git a/lisp/timezone.el b/lisp/timezone.el
index 24e0a4850a5..afb46b060be 100644
--- a/lisp/timezone.el
+++ b/lisp/timezone.el
@@ -258,7 +258,7 @@ Recognize HH:MM:SS, HH:MM, HHMMSS, HHMM."
258 258
259(defun timezone-zone-to-minute (timezone) 259(defun timezone-zone-to-minute (timezone)
260 "Translate TIMEZONE to an integer minute offset from GMT. 260 "Translate TIMEZONE to an integer minute offset from GMT.
261TIMEZONE can be a cons cell containing the output of current-time-zone, 261TIMEZONE can be a cons cell containing the output of `current-time-zone',
262or an integer of the form +-HHMM, or a time zone name." 262or an integer of the form +-HHMM, or a time zone name."
263 (cond 263 (cond
264 ((consp timezone) 264 ((consp timezone)
@@ -280,7 +280,7 @@ or an integer of the form +-HHMM, or a time zone name."
280 280
281(defun timezone-time-from-absolute (date seconds) 281(defun timezone-time-from-absolute (date seconds)
282 "Compute the UTC time equivalent to DATE at time SECONDS after midnight. 282 "Compute the UTC time equivalent to DATE at time SECONDS after midnight.
283Return a list suitable as an argument to current-time-zone, 283Return a list suitable as an argument to `current-time-zone',
284or nil if the date cannot be thus represented. 284or nil if the date cannot be thus represented.
285DATE is the number of days elapsed since the (imaginary) 285DATE is the number of days elapsed since the (imaginary)
286Gregorian date Sunday, December 31, 1 BC." 286Gregorian date Sunday, December 31, 1 BC."
@@ -298,7 +298,7 @@ Gregorian date Sunday, December 31, 1 BC."
298 298
299(defun timezone-time-zone-from-absolute (date seconds) 299(defun timezone-time-zone-from-absolute (date seconds)
300 "Compute the local time zone for DATE at time SECONDS after midnight. 300 "Compute the local time zone for DATE at time SECONDS after midnight.
301Return a list in the same format as current-time-zone's result, 301Return a list in the same format as `current-time-zone's result,
302or nil if the local time zone could not be computed. 302or nil if the local time zone could not be computed.
303DATE is the number of days elapsed since the (imaginary) 303DATE is the number of days elapsed since the (imaginary)
304Gregorian date Sunday, December 31, 1 BC." 304Gregorian date Sunday, December 31, 1 BC."
@@ -370,7 +370,7 @@ If TIMEZONE is nil, use the local time zone."
370 (aref [31 28 31 30 31 30 31 31 30 31 30 31] (1- month)))) 370 (aref [31 28 31 30 31 30 31 31 30 31 30 31] (1- month))))
371 371
372(defun timezone-leap-year-p (year) 372(defun timezone-leap-year-p (year)
373 "Returns t if YEAR is a Gregorian leap year." 373 "Return t if YEAR is a Gregorian leap year."
374 (or (and (zerop (% year 4)) 374 (or (and (zerop (% year 4))
375 (not (zerop (% year 100)))) 375 (not (zerop (% year 100))))
376 (zerop (% year 400)))) 376 (zerop (% year 400))))