diff options
| author | Karl Heuer | 1996-01-05 22:21:28 +0000 |
|---|---|---|
| committer | Karl Heuer | 1996-01-05 22:21:28 +0000 |
| commit | a7acbbe4d48af3113de2dfaf836a42f2a9b6c2b0 (patch) | |
| tree | 9ca09d12c605ce9155e55ad82476c9a6d6ebedcd | |
| parent | 60d0378e485ded218121a8b8d6ce582e47882fac (diff) | |
| download | emacs-a7acbbe4d48af3113de2dfaf836a42f2a9b6c2b0.tar.gz emacs-a7acbbe4d48af3113de2dfaf836a42f2a9b6c2b0.zip | |
Comment fixes.
59 files changed, 94 insertions, 95 deletions
diff --git a/lisp/ange-ftp.el b/lisp/ange-ftp.el index d93a3735d8c..2b79cf5757a 100644 --- a/lisp/ange-ftp.el +++ b/lisp/ange-ftp.el | |||
| @@ -395,7 +395,7 @@ | |||
| 395 | ;;; when asked to list a non-existent directory. Some of the ai.mit.edu | 395 | ;;; when asked to list a non-existent directory. Some of the ai.mit.edu |
| 396 | ;;; machines cause this problem for some FTP clients. Using | 396 | ;;; machines cause this problem for some FTP clients. Using |
| 397 | ;;; ange-ftp-kill-ftp-process can restart the ftp process, which | 397 | ;;; ange-ftp-kill-ftp-process can restart the ftp process, which |
| 398 | ;;; should get things back in synch. | 398 | ;;; should get things back in sync. |
| 399 | ;;; | 399 | ;;; |
| 400 | ;;; 3. Ange-ftp does not check to make sure that when creating a new file, | 400 | ;;; 3. Ange-ftp does not check to make sure that when creating a new file, |
| 401 | ;;; you provide a valid filename for the remote operating system. | 401 | ;;; you provide a valid filename for the remote operating system. |
| @@ -2242,7 +2242,7 @@ which can parse the output from a DIR listing for a host of type TYPE.") | |||
| 2242 | ;; | 2242 | ;; |
| 2243 | ;; With no-error t, it returns: | 2243 | ;; With no-error t, it returns: |
| 2244 | ;; an error if not an ange-ftp-name | 2244 | ;; an error if not an ange-ftp-name |
| 2245 | ;; error if listing is unreable (most likely caused by a slow connection) | 2245 | ;; error if listing is unreadable (most likely caused by a slow connection) |
| 2246 | ;; nil if ftp error (this is because although asking to list a nonexistent | 2246 | ;; nil if ftp error (this is because although asking to list a nonexistent |
| 2247 | ;; directory on a remote unix machine usually (except | 2247 | ;; directory on a remote unix machine usually (except |
| 2248 | ;; maybe for dumb hosts) returns an ls error, but no | 2248 | ;; maybe for dumb hosts) returns an ls error, but no |
diff --git a/lisp/avoid.el b/lisp/avoid.el index d75ca2c961d..8abb81e142b 100644 --- a/lisp/avoid.el +++ b/lisp/avoid.el | |||
| @@ -166,7 +166,7 @@ You can redefine this if you want the mouse banished to a different corner." | |||
| 166 | ;; Args are the CURRENT location, the desired DELTA for | 166 | ;; Args are the CURRENT location, the desired DELTA for |
| 167 | ;; warp-conservation, the DISTANCE we like to move, the VARIABILITY | 167 | ;; warp-conservation, the DISTANCE we like to move, the VARIABILITY |
| 168 | ;; in distance allowed, and the MIN and MAX possible window positions. | 168 | ;; in distance allowed, and the MIN and MAX possible window positions. |
| 169 | ;; Returns something as close to DELTA as possible withing the constraints. | 169 | ;; Returns something as close to DELTA as possible within the constraints. |
| 170 | (let ((L1 (max (- min cur) (+ (- dist) (- var)))) | 170 | (let ((L1 (max (- min cur) (+ (- dist) (- var)))) |
| 171 | (R1 (+ (- dist) var )) | 171 | (R1 (+ (- dist) var )) |
| 172 | (L2 (+ dist (- var))) | 172 | (L2 (+ dist (- var))) |
diff --git a/lisp/completion.el b/lisp/completion.el index 1e4e281ad1d..918d032797e 100644 --- a/lisp/completion.el +++ b/lisp/completion.el | |||
| @@ -221,7 +221,7 @@ | |||
| 221 | ;;; With input from many users at TMC, (rose, craig, and gls come to mind), | 221 | ;;; With input from many users at TMC, (rose, craig, and gls come to mind), |
| 222 | ;;; the current style of interface was developed. | 222 | ;;; the current style of interface was developed. |
| 223 | ;;; 9/87, Jim and Brewster took terminals home. Yuck. After | 223 | ;;; 9/87, Jim and Brewster took terminals home. Yuck. After |
| 224 | ;;; complaining for a while Brewester implemented a subset of the current | 224 | ;;; complaining for a while Brewster implemented a subset of the current |
| 225 | ;;; LISPM version for GNU Emacs. | 225 | ;;; LISPM version for GNU Emacs. |
| 226 | ;;; 8/88 After complaining for a while (and with sufficient | 226 | ;;; 8/88 After complaining for a while (and with sufficient |
| 227 | ;;; promised rewards), Jim reimplemented a version of GNU completion | 227 | ;;; promised rewards), Jim reimplemented a version of GNU completion |
| @@ -1045,7 +1045,7 @@ Each symbol is bound to a single completion entry.") | |||
| 1045 | ;;; A completion entry is a LIST of string, prefix-symbol num-uses, and | 1045 | ;;; A completion entry is a LIST of string, prefix-symbol num-uses, and |
| 1046 | ;;; last-use-time (the time the completion was last used) | 1046 | ;;; last-use-time (the time the completion was last used) |
| 1047 | ;;; last-use-time is T if the string should be kept permanently | 1047 | ;;; last-use-time is T if the string should be kept permanently |
| 1048 | ;;; num-uses is incremented everytime the completion is used. | 1048 | ;;; num-uses is incremented every time the completion is used. |
| 1049 | 1049 | ||
| 1050 | ;;; We chose lists because (car foo) is faster than (aref foo 0) and the | 1050 | ;;; We chose lists because (car foo) is faster than (aref foo 0) and the |
| 1051 | ;;; creation time is about the same. | 1051 | ;;; creation time is about the same. |
diff --git a/lisp/dabbrev.el b/lisp/dabbrev.el index a6f454116e9..b119c0d76aa 100644 --- a/lisp/dabbrev.el +++ b/lisp/dabbrev.el | |||
| @@ -41,7 +41,7 @@ | |||
| 41 | ;; | 41 | ;; |
| 42 | ;; Set the variables you want special for your mode like this: | 42 | ;; Set the variables you want special for your mode like this: |
| 43 | ;; (set (make-local-variable 'dabbrev-case-replace) nil) | 43 | ;; (set (make-local-variable 'dabbrev-case-replace) nil) |
| 44 | ;; Then you don't interfer with other modes. | 44 | ;; Then you don't interfere with other modes. |
| 45 | ;; | 45 | ;; |
| 46 | ;; If your mode handles buffers that refers to other buffers | 46 | ;; If your mode handles buffers that refers to other buffers |
| 47 | ;; (i.e. compilation-mode, gud-mode), then try to set | 47 | ;; (i.e. compilation-mode, gud-mode), then try to set |
| @@ -771,7 +771,7 @@ See also `dabbrev-abbrev-char-regexp' and \\[dabbrev-completion]." | |||
| 771 | 771 | ||
| 772 | ;;; ABBREV is string to find as prefix of word. Second arg, REVERSE, | 772 | ;;; ABBREV is string to find as prefix of word. Second arg, REVERSE, |
| 773 | ;;; is t for reverse search, nil for forward. Variable dabbrev-limit | 773 | ;;; is t for reverse search, nil for forward. Variable dabbrev-limit |
| 774 | ;;; controls the maximum search region size. Third argment IGNORE-CASE | 774 | ;;; controls the maximum search region size. Third argument IGNORE-CASE |
| 775 | ;;; non-nil means treat case as insignificant while looking for a match | 775 | ;;; non-nil means treat case as insignificant while looking for a match |
| 776 | ;;; and when comparing with previous matches. Also if that's non-nil | 776 | ;;; and when comparing with previous matches. Also if that's non-nil |
| 777 | ;;; and the match is found at the beginning of a sentence and is in | 777 | ;;; and the match is found at the beginning of a sentence and is in |
diff --git a/lisp/desktop.el b/lisp/desktop.el index aa881af5d03..ecea3e80a34 100644 --- a/lisp/desktop.el +++ b/lisp/desktop.el | |||
| @@ -144,7 +144,7 @@ The variables are saved only when they really are local.") | |||
| 144 | (make-variable-buffer-local 'desktop-locals-to-save) | 144 | (make-variable-buffer-local 'desktop-locals-to-save) |
| 145 | 145 | ||
| 146 | ;; We skip .log files because they are normally temporary. | 146 | ;; We skip .log files because they are normally temporary. |
| 147 | ;; (ftp) files because they require passwords and whatsnot. | 147 | ;; (ftp) files because they require passwords and whatnot. |
| 148 | ;; TAGS files to save time (tags-file-name is saved instead). | 148 | ;; TAGS files to save time (tags-file-name is saved instead). |
| 149 | (defvar desktop-buffers-not-to-save | 149 | (defvar desktop-buffers-not-to-save |
| 150 | "\\(^nn\\.a[0-9]+\\|\\.log\\|(ftp)\\|^tags\\|^TAGS\\)$" | 150 | "\\(^nn\\.a[0-9]+\\|\\.log\\|(ftp)\\|^tags\\|^TAGS\\)$" |
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index 27ef4397d74..1edbd3a1ded 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el | |||
| @@ -1008,7 +1008,7 @@ Special value `always' suppresses confirmation.") | |||
| 1008 | ;; which will be added. The user will be queried if the file already | 1008 | ;; which will be added. The user will be queried if the file already |
| 1009 | ;; exists. If oldfile is removed by FILE-CREATOR (i.e, it is a | 1009 | ;; exists. If oldfile is removed by FILE-CREATOR (i.e, it is a |
| 1010 | ;; rename), it is FILE-CREATOR's responsibility to update dired | 1010 | ;; rename), it is FILE-CREATOR's responsibility to update dired |
| 1011 | ;; buffers. FILE-CREATOR must abort by signalling a file-error if it | 1011 | ;; buffers. FILE-CREATOR must abort by signaling a file-error if it |
| 1012 | ;; could not create newfile. The error is caught and logged. | 1012 | ;; could not create newfile. The error is caught and logged. |
| 1013 | 1013 | ||
| 1014 | ;; OPERATION (a capitalized string, e.g. `Copy') describes the | 1014 | ;; OPERATION (a capitalized string, e.g. `Copy') describes the |
diff --git a/lisp/double.el b/lisp/double.el index 403b5a22429..0f3f4513aef 100644 --- a/lisp/double.el +++ b/lisp/double.el | |||
| @@ -33,7 +33,7 @@ | |||
| 33 | ;; string will be replaced by another. This can be used for mapping | 33 | ;; string will be replaced by another. This can be used for mapping |
| 34 | ;; keys on a US keyboard to generate characters according to the local | 34 | ;; keys on a US keyboard to generate characters according to the local |
| 35 | ;; keyboard convention when pressed once, and according to US keyboard | 35 | ;; keyboard convention when pressed once, and according to US keyboard |
| 36 | ;; convetion when pressed twice. | 36 | ;; convention when pressed twice. |
| 37 | ;; | 37 | ;; |
| 38 | ;; To use this mode, you must define the variable `double-map' and | 38 | ;; To use this mode, you must define the variable `double-map' and |
| 39 | ;; then enable double mode with `M-x double-mode'. Read the | 39 | ;; then enable double mode with `M-x double-mode'. Read the |
| @@ -42,9 +42,9 @@ | |||
| 42 | ;; The default mapping is for getting Danish/Norwegian keyboard layout | 42 | ;; The default mapping is for getting Danish/Norwegian keyboard layout |
| 43 | ;; using ISO Latin 1 on a US keyboard. | 43 | ;; using ISO Latin 1 on a US keyboard. |
| 44 | ;; | 44 | ;; |
| 45 | ;; Imprtant node: While I would like to hear comments, bug reports, | 45 | ;; Important node: While I would like to hear comments, bug reports, |
| 46 | ;; suggestions, please do @strong{not} expect me to put other mappings | 46 | ;; suggestions, please do @strong{not} expect me to put other mappings |
| 47 | ;; that the default into this file. There are billions and billions | 47 | ;; than the default into this file. There are billions and billions |
| 48 | ;; of such mappings, and just supporting the most common would | 48 | ;; of such mappings, and just supporting the most common would |
| 49 | ;; increase the size of this nice small file manyfold. | 49 | ;; increase the size of this nice small file manyfold. |
| 50 | 50 | ||
diff --git a/lisp/ediff-merg.el b/lisp/ediff-merg.el index ef14c8c436a..9b473816d37 100644 --- a/lisp/ediff-merg.el +++ b/lisp/ediff-merg.el | |||
| @@ -137,7 +137,7 @@ skiped over. Nil means show all regions.") | |||
| 137 | (and (string= state-of-merge "combined") | 137 | (and (string= state-of-merge "combined") |
| 138 | (not (string= | 138 | (not (string= |
| 139 | (ediff-make-combined-diff reg-A reg-B) reg-C))) | 139 | (ediff-make-combined-diff reg-A reg-B) reg-C))) |
| 140 | ;; was prefered--ignore | 140 | ;; was preferred--ignore |
| 141 | (string-match "prefer" state-of-merge)) | 141 | (string-match "prefer" state-of-merge)) |
| 142 | (setq do-not-copy t)) | 142 | (setq do-not-copy t)) |
| 143 | 143 | ||
diff --git a/lisp/ediff-mult.el b/lisp/ediff-mult.el index f8a0c0912f6..319edf30fa7 100644 --- a/lisp/ediff-mult.el +++ b/lisp/ediff-mult.el | |||
| @@ -43,7 +43,7 @@ | |||
| 43 | ;; Actually, the format of this list is pretty much up to the | 43 | ;; Actually, the format of this list is pretty much up to the |
| 44 | ;; developer. The only thing is that it must be a list of lists. | 44 | ;; developer. The only thing is that it must be a list of lists. |
| 45 | ;; Also, keep in mind that the function ediff-prepare-meta-buffer | 45 | ;; Also, keep in mind that the function ediff-prepare-meta-buffer |
| 46 | ;; (which see) prepends nil in fron of each list (i.e., the above list | 46 | ;; (which see) prepends nil in front of each list (i.e., the above list |
| 47 | ;; will become ((nil obj1 obj2 ...) (nil ...) ...). | 47 | ;; will become ((nil obj1 obj2 ...) (nil ...) ...). |
| 48 | ;; Ediff expects that your function (in 2 above) will arrange to | 48 | ;; Ediff expects that your function (in 2 above) will arrange to |
| 49 | ;; replace this prepended nil (via setcar) with the actual ediff | 49 | ;; replace this prepended nil (via setcar) with the actual ediff |
| @@ -1209,7 +1209,7 @@ all marked sessions must be active." | |||
| 1209 | (error "No active Ediff sessions or corrupted session registry")) | 1209 | (error "No active Ediff sessions or corrupted session registry")) |
| 1210 | (let (wind frame) | 1210 | (let (wind frame) |
| 1211 | ;; for some reason, point moves in ediff-registry-buffer, so we preserve it | 1211 | ;; for some reason, point moves in ediff-registry-buffer, so we preserve it |
| 1212 | ;; explicity | 1212 | ;; explictly |
| 1213 | (ediff-eval-in-buffer ediff-registry-buffer | 1213 | (ediff-eval-in-buffer ediff-registry-buffer |
| 1214 | (save-excursion | 1214 | (save-excursion |
| 1215 | (cond ((setq wind | 1215 | (cond ((setq wind |
diff --git a/lisp/ediff-util.el b/lisp/ediff-util.el index 47f9c57c722..c0a401301c4 100644 --- a/lisp/ediff-util.el +++ b/lisp/ediff-util.el | |||
| @@ -733,7 +733,7 @@ Reestablish the default three-window display." | |||
| 733 | ediff-patch-action | 733 | ediff-patch-action |
| 734 | ediff-toggle-wide-display ediff-toggle-multiframe)) | 734 | ediff-toggle-wide-display ediff-toggle-multiframe)) |
| 735 | ;; Or one of the movement cmds and prev cmd was an Ediff cmd | 735 | ;; Or one of the movement cmds and prev cmd was an Ediff cmd |
| 736 | ;; This avoids rasing frames unnecessarily. | 736 | ;; This avoids raising frames unnecessarily. |
| 737 | (and (memq this-command | 737 | (and (memq this-command |
| 738 | '(ediff-next-difference | 738 | '(ediff-next-difference |
| 739 | ediff-previous-difference | 739 | ediff-previous-difference |
| @@ -1420,7 +1420,7 @@ the width of the A/B/C windows." | |||
| 1420 | (move-to-window-line lines) | 1420 | (move-to-window-line lines) |
| 1421 | (point))) | 1421 | (point))) |
| 1422 | ;; `end' may be beyond the window bottom, so check | 1422 | ;; `end' may be beyond the window bottom, so check |
| 1423 | ;; that we are making progres | 1423 | ;; that we are making progress |
| 1424 | (< prev-point (point))) | 1424 | (< prev-point (point))) |
| 1425 | (setq prev-point (point)) | 1425 | (setq prev-point (point)) |
| 1426 | (setq lines (1+ lines))) | 1426 | (setq lines (1+ lines))) |
| @@ -2962,7 +2962,7 @@ buffer." | |||
| 2962 | 2962 | ||
| 2963 | ;;; Misc | 2963 | ;;; Misc |
| 2964 | 2964 | ||
| 2965 | ;; These two functions are here to neutralize XEmacs unwillingless to | 2965 | ;; These two functions are here to neutralize XEmacs's unwillingness to |
| 2966 | ;; handle overlays whose buffers were deleted. | 2966 | ;; handle overlays whose buffers were deleted. |
| 2967 | (defun ediff-move-overlay (overlay beg end &optional buffer) | 2967 | (defun ediff-move-overlay (overlay beg end &optional buffer) |
| 2968 | "Calls `move-overlay' in Emacs and `set-extent-endpoints' in Lemacs. | 2968 | "Calls `move-overlay' in Emacs and `set-extent-endpoints' in Lemacs. |
diff --git a/lisp/ediff.el b/lisp/ediff.el index 571cd65981c..371a0244940 100644 --- a/lisp/ediff.el +++ b/lisp/ediff.el | |||
| @@ -85,7 +85,7 @@ | |||
| 85 | 85 | ||
| 86 | ;; 2. On a monochrome display, the repertoire of faces with which to | 86 | ;; 2. On a monochrome display, the repertoire of faces with which to |
| 87 | ;; highlight fine differences is limited. By default, Ediff is using | 87 | ;; highlight fine differences is limited. By default, Ediff is using |
| 88 | ;; underlining. However, if the region is already underlied by some other | 88 | ;; underlining. However, if the region is already underlined by some other |
| 89 | ;; overlays, there is no simple way to temporarily remove that residual | 89 | ;; overlays, there is no simple way to temporarily remove that residual |
| 90 | ;; underlining. This problem occurs when a buffer is highlighted with | 90 | ;; underlining. This problem occurs when a buffer is highlighted with |
| 91 | ;; hilit19.el or font-lock.el packages. If this residual highlighting gets | 91 | ;; hilit19.el or font-lock.el packages. If this residual highlighting gets |
| @@ -175,7 +175,7 @@ | |||
| 175 | ;; Make a temp file, if source-filename has a magic file handler (or if | 175 | ;; Make a temp file, if source-filename has a magic file handler (or if |
| 176 | ;; it is handled via auto-mode-alist and similar magic). | 176 | ;; it is handled via auto-mode-alist and similar magic). |
| 177 | ;; Check if there is a buffer visiting source-filename and if they are in | 177 | ;; Check if there is a buffer visiting source-filename and if they are in |
| 178 | ;; synch; arrange for the deletion of temp file. | 178 | ;; sync; arrange for the deletion of temp file. |
| 179 | (ediff-find-file 'true-source-filename 'buf-to-patch | 179 | (ediff-find-file 'true-source-filename 'buf-to-patch |
| 180 | 'ediff-last-dir-patch 'startup-hooks) | 180 | 'ediff-last-dir-patch 'startup-hooks) |
| 181 | 181 | ||
| @@ -833,7 +833,7 @@ If WIND-B is nil, use window next to WIND-A." | |||
| 833 | 833 | ||
| 834 | (save-excursion | 834 | (save-excursion |
| 835 | (save-window-excursion | 835 | (save-window-excursion |
| 836 | (sit-for 0) ; synch before using window-start/end -- a precaution | 836 | (sit-for 0) ; sync before using window-start/end -- a precaution |
| 837 | (select-window wind-A) | 837 | (select-window wind-A) |
| 838 | (setq beg-A (window-start) | 838 | (setq beg-A (window-start) |
| 839 | end-A (window-end)) | 839 | end-A (window-end)) |
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 20d54630dad..4efe6cd8f90 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el | |||
| @@ -938,7 +938,7 @@ otherwise pop it") | |||
| 938 | (defun byte-compile-arglist-signatures-congruent-p (old new) | 938 | (defun byte-compile-arglist-signatures-congruent-p (old new) |
| 939 | (not (or | 939 | (not (or |
| 940 | (> (car new) (car old)) ; requires more args now | 940 | (> (car new) (car old)) ; requires more args now |
| 941 | (and (null (cdr old)) ; tooks rest-args, doesn't any more | 941 | (and (null (cdr old)) ; took rest-args, doesn't any more |
| 942 | (cdr new)) | 942 | (cdr new)) |
| 943 | (and (cdr new) (cdr old) ; can't take as many args now | 943 | (and (cdr new) (cdr old) ; can't take as many args now |
| 944 | (< (cdr new) (cdr old))) | 944 | (< (cdr new) (cdr old))) |
| @@ -1381,7 +1381,7 @@ With argument, insert value in current buffer after the form." | |||
| 1381 | ;; Compile pending forms at end of file. | 1381 | ;; Compile pending forms at end of file. |
| 1382 | (byte-compile-flush-pending) | 1382 | (byte-compile-flush-pending) |
| 1383 | (byte-compile-warn-about-unresolved-functions) | 1383 | (byte-compile-warn-about-unresolved-functions) |
| 1384 | ;; SHould we always do this? When calling multiple files, it | 1384 | ;; Should we always do this? When calling multiple files, it |
| 1385 | ;; would be useful to delay this warning until all have | 1385 | ;; would be useful to delay this warning until all have |
| 1386 | ;; been compiled. | 1386 | ;; been compiled. |
| 1387 | (setq byte-compile-unresolved-functions nil)))) | 1387 | (setq byte-compile-unresolved-functions nil)))) |
diff --git a/lisp/emacs-lisp/cl-indent.el b/lisp/emacs-lisp/cl-indent.el index f6ad1854012..bef95f322b6 100644 --- a/lisp/emacs-lisp/cl-indent.el +++ b/lisp/emacs-lisp/cl-indent.el | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1987 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1987 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Richard Mlynark <mly@eddie.mit.edu> | 5 | ;; Author: Richard Mlynarik <mly@eddie.mit.edu> |
| 6 | ;; Created: July 1987 | 6 | ;; Created: July 1987 |
| 7 | ;; Maintainer: FSF | 7 | ;; Maintainer: FSF |
| 8 | ;; Keywords: lisp, tools | 8 | ;; Keywords: lisp, tools |
diff --git a/lisp/emacs-lisp/cl-specs.el b/lisp/emacs-lisp/cl-specs.el index 9bb79ea79a3..06c29a97ece 100644 --- a/lisp/emacs-lisp/cl-specs.el +++ b/lisp/emacs-lisp/cl-specs.el | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | ;; LCD Archive Entry: | 7 | ;; LCD Archive Entry: |
| 8 | ;; cl-specs.el|Daniel LaLiberte|liberte@cs.uiuc.edu | 8 | ;; cl-specs.el|Daniel LaLiberte|liberte@cs.uiuc.edu |
| 9 | ;; |Edebug specs for cl.el | 9 | ;; |Edebug specs for cl.el |
| 10 | ;; |$Date: 1995/04/19 00:47:42 $|1.1| | 10 | ;; |$Date: 1995/10/30 16:51:55 $|1.1| |
| 11 | 11 | ||
| 12 | ;; This file is part of GNU Emacs. | 12 | ;; This file is part of GNU Emacs. |
| 13 | 13 | ||
| @@ -30,7 +30,7 @@ | |||
| 30 | ;; These specs are to be used with edebug.el version 3.3 or later and | 30 | ;; These specs are to be used with edebug.el version 3.3 or later and |
| 31 | ;; cl.el version 2.03 or later, by Dave Gillespie <daveg@synaptics.com>. | 31 | ;; cl.el version 2.03 or later, by Dave Gillespie <daveg@synaptics.com>. |
| 32 | 32 | ||
| 33 | ;; This file need not be byte-compiled, but it shouldnt hurt. | 33 | ;; This file need not be byte-compiled, but it shouldn't hurt. |
| 34 | 34 | ||
| 35 | (provide 'cl-specs) | 35 | (provide 'cl-specs) |
| 36 | ;; Do the above provide before the following require. | 36 | ;; Do the above provide before the following require. |
| @@ -412,7 +412,7 @@ | |||
| 412 | 412 | ||
| 413 | (def-edebug-spec loop-initial-final | 413 | (def-edebug-spec loop-initial-final |
| 414 | (&or ["initially" | 414 | (&or ["initially" |
| 415 | ;; [&optional &or "do" "doing"] ;; CLtL2 doesnt allow this. | 415 | ;; [&optional &or "do" "doing"] ;; CLtL2 doesn't allow this. |
| 416 | &rest loop-non-atomic-expr] | 416 | &rest loop-non-atomic-expr] |
| 417 | ["finally" &or | 417 | ["finally" &or |
| 418 | [[&optional &or "do" "doing"] &rest loop-non-atomic-expr] | 418 | [[&optional &or "do" "doing"] &rest loop-non-atomic-expr] |
diff --git a/lisp/emacs-lisp/copyright.el b/lisp/emacs-lisp/copyright.el index e6f5ba34f74..c41fdd59ba9 100644 --- a/lisp/emacs-lisp/copyright.el +++ b/lisp/emacs-lisp/copyright.el | |||
| @@ -48,7 +48,7 @@ When this is `function', only ask when called non-interactively.") | |||
| 48 | "String representing the current year.") | 48 | "String representing the current year.") |
| 49 | 49 | ||
| 50 | 50 | ||
| 51 | ;; when modifiying this, also modify the comment generated by autoinsert.el | 51 | ;; when modifying this, also modify the comment generated by autoinsert.el |
| 52 | (defconst copyright-current-gpl-version "2" | 52 | (defconst copyright-current-gpl-version "2" |
| 53 | "String representing the current version of the GPL or `nil'.") | 53 | "String representing the current version of the GPL or `nil'.") |
| 54 | 54 | ||
diff --git a/lisp/emacs-lisp/eval-reg.el b/lisp/emacs-lisp/eval-reg.el index f4e32ded320..a956aa4a267 100644 --- a/lisp/emacs-lisp/eval-reg.el +++ b/lisp/emacs-lisp/eval-reg.el | |||
| @@ -130,7 +130,7 @@ nil means discard it; anything else is stream for print. | |||
| 130 | This version, from `eval-reg.el', allows Lisp customization of read, | 130 | This version, from `eval-reg.el', allows Lisp customization of read, |
| 131 | eval, and the printer." | 131 | eval, and the printer." |
| 132 | 132 | ||
| 133 | ;; Because this doesnt narrow to the region, one other difference | 133 | ;; Because this doesn't narrow to the region, one other difference |
| 134 | ;; concerns inserting whitespace after the expression being evaluated. | 134 | ;; concerns inserting whitespace after the expression being evaluated. |
| 135 | 135 | ||
| 136 | (interactive "r") | 136 | (interactive "r") |
| @@ -138,7 +138,7 @@ eval, and the printer." | |||
| 138 | (original-eval-region elisp-start elisp-end elisp-output) | 138 | (original-eval-region elisp-start elisp-end elisp-output) |
| 139 | (let ((elisp-pnt (point)) | 139 | (let ((elisp-pnt (point)) |
| 140 | (elisp-buf (current-buffer));; Outside buffer | 140 | (elisp-buf (current-buffer));; Outside buffer |
| 141 | (elisp-inside-buf (current-buffer));; Buffer current while evaling | 141 | (elisp-inside-buf (current-buffer));; Buffer current while evalling |
| 142 | ;; Mark the end because it may move. | 142 | ;; Mark the end because it may move. |
| 143 | (elisp-end-marker (set-marker (make-marker) elisp-end)) | 143 | (elisp-end-marker (set-marker (make-marker) elisp-end)) |
| 144 | elisp-form | 144 | elisp-form |
diff --git a/lisp/emacs-lock.el b/lisp/emacs-lock.el index c0495bb8350..7d9614c4006 100644 --- a/lisp/emacs-lock.el +++ b/lisp/emacs-lock.el | |||
| @@ -28,7 +28,7 @@ | |||
| 28 | ;; yourself from yourself. For example, if you have a shell running a big | 28 | ;; yourself from yourself. For example, if you have a shell running a big |
| 29 | ;; program and exiting emacs would abort that program, you may want to lock | 29 | ;; program and exiting emacs would abort that program, you may want to lock |
| 30 | ;; that buffer, then if you forget about it after a while, you won't | 30 | ;; that buffer, then if you forget about it after a while, you won't |
| 31 | ;; accidently exit emacs. To unlock the buffer, just goto the buffer and | 31 | ;; accidentally exit emacs. To unlock the buffer, just goto the buffer and |
| 32 | ;; run toggle-emacs-lock again. | 32 | ;; run toggle-emacs-lock again. |
| 33 | 33 | ||
| 34 | (defvar lock-emacs-from-exiting nil | 34 | (defvar lock-emacs-from-exiting nil |
diff --git a/lisp/emerge.el b/lisp/emerge.el index 17eb6f86ca1..988644ea777 100644 --- a/lisp/emerge.el +++ b/lisp/emerge.el | |||
| @@ -1741,7 +1741,7 @@ to the left margin, if they are in windows." | |||
| 1741 | ;; If there are min-lines lines above and below the region, then don't do | 1741 | ;; If there are min-lines lines above and below the region, then don't do |
| 1742 | ;; anything. | 1742 | ;; anything. |
| 1743 | ;; If not, recenter the region to make it so. | 1743 | ;; If not, recenter the region to make it so. |
| 1744 | ;; If that isn't possible, remove context lines balancedly from top and botton | 1744 | ;; If that isn't possible, remove context lines balancedly from top and bottom |
| 1745 | ;; so the entire region shows. | 1745 | ;; so the entire region shows. |
| 1746 | ;; If that isn't possible, show the top of the region. | 1746 | ;; If that isn't possible, show the top of the region. |
| 1747 | ;; BEG must be at the beginning of a line. | 1747 | ;; BEG must be at the beginning of a line. |
| @@ -2847,7 +2847,7 @@ keymap. Leaves merge in fast mode." | |||
| 2847 | ;; a list of variables. The argument is a list of symbols (the names of | 2847 | ;; a list of variables. The argument is a list of symbols (the names of |
| 2848 | ;; the variables). A list element can also be a list of two functions, | 2848 | ;; the variables). A list element can also be a list of two functions, |
| 2849 | ;; the first of which (when called with no arguments) gets the value, and | 2849 | ;; the first of which (when called with no arguments) gets the value, and |
| 2850 | ;; the second (when called with a value as an argment) sets the value. | 2850 | ;; the second (when called with a value as an argument) sets the value. |
| 2851 | ;; A "function" is anything that funcall can handle as an argument. | 2851 | ;; A "function" is anything that funcall can handle as an argument. |
| 2852 | 2852 | ||
| 2853 | (defun emerge-save-variables (vars) | 2853 | (defun emerge-save-variables (vars) |
diff --git a/lisp/emulation/edt-pc.el b/lisp/emulation/edt-pc.el index 5fae49e4b25..db92d2b9477 100644 --- a/lisp/emulation/edt-pc.el +++ b/lisp/emulation/edt-pc.el | |||
| @@ -38,7 +38,7 @@ | |||
| 38 | ;; NumLock must be ON. | 38 | ;; NumLock must be ON. |
| 39 | ;; | 39 | ;; |
| 40 | ;; The PC keypad keys are mapped to the corresponding DEC LK-201 | 40 | ;; The PC keypad keys are mapped to the corresponding DEC LK-201 |
| 41 | ;; keypad keys according to the corresponding physical possition on | 41 | ;; keypad keys according to the corresponding physical position on |
| 42 | ;; the keyboard. Thus, the physical position of the PC keypad key | 42 | ;; the keyboard. Thus, the physical position of the PC keypad key |
| 43 | ;; determines its function, not the PC keycap name. | 43 | ;; determines its function, not the PC keycap name. |
| 44 | ;; | 44 | ;; |
diff --git a/lisp/emulation/mlsupport.el b/lisp/emulation/mlsupport.el index d60b3809dfd..3a1d3c5ba1e 100644 --- a/lisp/emulation/mlsupport.el +++ b/lisp/emulation/mlsupport.el | |||
| @@ -26,7 +26,7 @@ | |||
| 26 | ;; This package provides equivalents of certain primitives from Gosling | 26 | ;; This package provides equivalents of certain primitives from Gosling |
| 27 | ;; Emacs (including the commercial UniPress versions). These have an | 27 | ;; Emacs (including the commercial UniPress versions). These have an |
| 28 | ;; ml- prefix to distinguish them from native GNU Emacs functions with | 28 | ;; ml- prefix to distinguish them from native GNU Emacs functions with |
| 29 | ;; similar names. The oackage mlconvert.el translates Mocklisp code | 29 | ;; similar names. The package mlconvert.el translates Mocklisp code |
| 30 | ;; to use these names. | 30 | ;; to use these names. |
| 31 | 31 | ||
| 32 | ;;; Code: | 32 | ;;; Code: |
diff --git a/lisp/emulation/pc-select.el b/lisp/emulation/pc-select.el index eb3798f0b3a..1187b642c86 100644 --- a/lisp/emulation/pc-select.el +++ b/lisp/emulation/pc-select.el | |||
| @@ -494,7 +494,7 @@ the MAC GUI or MS-Windows (sorry for the last one)." | |||
| 494 | (define-key global-map "\M-w" 'copy-region-as-kill-nomark) | 494 | (define-key global-map "\M-w" 'copy-region-as-kill-nomark) |
| 495 | 495 | ||
| 496 | 496 | ||
| 497 | ;; The followong keybindings are for standard ISO keyboards | 497 | ;; The following keybindings are for standard ISO keyboards |
| 498 | ;; as they are used with IBM compatible PCs, IBM RS/6000, | 498 | ;; as they are used with IBM compatible PCs, IBM RS/6000, |
| 499 | ;; MACs, many X-Stations and probably more | 499 | ;; MACs, many X-Stations and probably more |
| 500 | (define-key global-map [S-right] 'forward-char-mark) | 500 | (define-key global-map [S-right] 'forward-char-mark) |
| @@ -533,7 +533,7 @@ the MAC GUI or MS-Windows (sorry for the last one)." | |||
| 533 | (define-key global-map [C-insert] 'copy-region-as-kill) | 533 | (define-key global-map [C-insert] 'copy-region-as-kill) |
| 534 | (define-key global-map [S-delete] 'kill-region) | 534 | (define-key global-map [S-delete] 'kill-region) |
| 535 | 535 | ||
| 536 | ;; The following bindings are usueful on Sun Type 3 keyboards | 536 | ;; The following bindings are useful on Sun Type 3 keyboards |
| 537 | ;; They implement the Get-Delete-Put (copy-cut-paste) | 537 | ;; They implement the Get-Delete-Put (copy-cut-paste) |
| 538 | ;; functions from sunview on the L6, L8 and L10 keys | 538 | ;; functions from sunview on the L6, L8 and L10 keys |
| 539 | (define-key global-map [f16] 'yank) | 539 | (define-key global-map [f16] 'yank) |
diff --git a/lisp/emulation/viper-keym.el b/lisp/emulation/viper-keym.el index 9ff7cd83f4f..11bcec03635 100644 --- a/lisp/emulation/viper-keym.el +++ b/lisp/emulation/viper-keym.el | |||
| @@ -31,8 +31,7 @@ | |||
| 31 | (defvar vip-insert-intercept-map (make-sparse-keymap)) | 31 | (defvar vip-insert-intercept-map (make-sparse-keymap)) |
| 32 | (defvar vip-emacs-intercept-map (make-sparse-keymap)) | 32 | (defvar vip-emacs-intercept-map (make-sparse-keymap)) |
| 33 | 33 | ||
| 34 | ;; keymap used to zap all keymaps other than function-key-map, | 34 | ;; keymap used to zap all keymaps other than function-key-map, etc. |
| 35 | ;; devide-function-key-map, etc. | ||
| 36 | (defvar vip-overriding-map (make-sparse-keymap)) | 35 | (defvar vip-overriding-map (make-sparse-keymap)) |
| 37 | 36 | ||
| 38 | (vip-deflocalvar vip-vi-local-user-map (make-sparse-keymap) | 37 | (vip-deflocalvar vip-vi-local-user-map (make-sparse-keymap) |
diff --git a/lisp/emulation/viper-util.el b/lisp/emulation/viper-util.el index 3e3cd658e5a..1523399aefc 100644 --- a/lisp/emulation/viper-util.el +++ b/lisp/emulation/viper-util.el | |||
| @@ -766,7 +766,7 @@ | |||
| 766 | 766 | ||
| 767 | 767 | ||
| 768 | ;; Emacs has a bug in eventp, which causes (eventp nil) to return (nil) | 768 | ;; Emacs has a bug in eventp, which causes (eventp nil) to return (nil) |
| 769 | ;; instead of nil, if '(nil) was previously inadvertantly assigned to | 769 | ;; instead of nil, if '(nil) was previously inadvertently assigned to |
| 770 | ;; unread-command-events | 770 | ;; unread-command-events |
| 771 | (defun vip-event-key (event) | 771 | (defun vip-event-key (event) |
| 772 | (or (and event (eventp event)) | 772 | (or (and event (eventp event)) |
diff --git a/lisp/faces.el b/lisp/faces.el index cd20abb0f35..ea298db1c6a 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -150,7 +150,7 @@ in that frame; otherwise change each frame." | |||
| 150 | ;; For a specific frame, use gray stipple instead of gray color | 150 | ;; For a specific frame, use gray stipple instead of gray color |
| 151 | ;; if the display does not support a gray color. | 151 | ;; if the display does not support a gray color. |
| 152 | (if (and frame (not (eq frame t)) color | 152 | (if (and frame (not (eq frame t)) color |
| 153 | ;; Check for supportedness for foreground, not for background! | 153 | ;; Check for support for foreground, not for background! |
| 154 | ;; face-color-supported-p is smart enough to know | 154 | ;; face-color-supported-p is smart enough to know |
| 155 | ;; that grays are "supported" as background | 155 | ;; that grays are "supported" as background |
| 156 | ;; because we are supposed to use stipple for them! | 156 | ;; because we are supposed to use stipple for them! |
diff --git a/lisp/gnus-cite.el b/lisp/gnus-cite.el index a83ea80114b..e74c07773fe 100644 --- a/lisp/gnus-cite.el +++ b/lisp/gnus-cite.el | |||
| @@ -452,12 +452,12 @@ See also the documentation for `gnus-article-highlight-citation'." | |||
| 452 | ;; loose attribution lines, otherwise the first prefix will be used. | 452 | ;; loose attribution lines, otherwise the first prefix will be used. |
| 453 | ;; | 453 | ;; |
| 454 | ;; If AFTER is non-nil, only citations after the attribution line | 454 | ;; If AFTER is non-nil, only citations after the attribution line |
| 455 | ;; will be concidered. | 455 | ;; will be considered. |
| 456 | ;; | 456 | ;; |
| 457 | ;; If FUN is non-nil, it will be called with the arguments (WROTE | 457 | ;; If FUN is non-nil, it will be called with the arguments (WROTE |
| 458 | ;; PREFIX TAG) and expected to return a regular expression. Only | 458 | ;; PREFIX TAG) and expected to return a regular expression. Only |
| 459 | ;; citations whose prefix matches the regular expression will be | 459 | ;; citations whose prefix matches the regular expression will be |
| 460 | ;; concidered. | 460 | ;; considered. |
| 461 | ;; | 461 | ;; |
| 462 | ;; WROTE is the attribution line number. | 462 | ;; WROTE is the attribution line number. |
| 463 | ;; PREFIX is the attribution line prefix. | 463 | ;; PREFIX is the attribution line prefix. |
diff --git a/lisp/gnus-ems.el b/lisp/gnus-ems.el index e0b2244ab0e..924ff7be8e6 100644 --- a/lisp/gnus-ems.el +++ b/lisp/gnus-ems.el | |||
| @@ -415,7 +415,7 @@ NOTE: This command only works with newsgroups that use real or simulated NNTP." | |||
| 415 | ;; Fucking XEmacs redisplay bug with truncated lines. | 415 | ;; Fucking XEmacs redisplay bug with truncated lines. |
| 416 | (goto-char b) | 416 | (goto-char b) |
| 417 | (sit-for 0) | 417 | (sit-for 0) |
| 418 | ;; Grumble.. Fucking XEmacs stickyness of text properties. | 418 | ;; Grumble.. Fucking XEmacs stickiness of text properties. |
| 419 | (remove-text-properties | 419 | (remove-text-properties |
| 420 | (1+ b) (1+ (gnus-point-at-eol)) | 420 | (1+ b) (1+ (gnus-point-at-eol)) |
| 421 | '(gnus-number nil gnus-mark nil gnus-level nil)) | 421 | '(gnus-number nil gnus-mark nil gnus-level nil)) |
diff --git a/lisp/gnus-msg.el b/lisp/gnus-msg.el index ea52c043c17..6f6c97e7f7a 100644 --- a/lisp/gnus-msg.el +++ b/lisp/gnus-msg.el | |||
| @@ -580,7 +580,7 @@ will attempt to use the foreign server to post the article." | |||
| 580 | (match-beginning 0))) | 580 | (match-beginning 0))) |
| 581 | 581 | ||
| 582 | ;; Correct newsgroups field: change sequence of spaces to comma and | 582 | ;; Correct newsgroups field: change sequence of spaces to comma and |
| 583 | ;; eliminate spaces around commas. Eliminate imbedded line breaks. | 583 | ;; eliminate spaces around commas. Eliminate embedded line breaks. |
| 584 | (goto-char (point-min)) | 584 | (goto-char (point-min)) |
| 585 | (if (re-search-forward "^Newsgroups: +" nil t) | 585 | (if (re-search-forward "^Newsgroups: +" nil t) |
| 586 | (save-restriction | 586 | (save-restriction |
| @@ -1353,7 +1353,7 @@ domain is undefined, the domain name is got from it." | |||
| 1353 | ;; You might for example insert a "." somewhere (not next to another dot | 1353 | ;; You might for example insert a "." somewhere (not next to another dot |
| 1354 | ;; or string boundary), or modify the newsreader name to "Ding". | 1354 | ;; or string boundary), or modify the newsreader name to "Ding". |
| 1355 | (defun gnus-inews-unique-id () | 1355 | (defun gnus-inews-unique-id () |
| 1356 | ;; Dont use microseconds from (current-time), they may be unsupported. | 1356 | ;; Don't use microseconds from (current-time), they may be unsupported. |
| 1357 | ;; Instead we use this randomly inited counter. | 1357 | ;; Instead we use this randomly inited counter. |
| 1358 | (setq gnus-unique-id-char | 1358 | (setq gnus-unique-id-char |
| 1359 | (% (1+ (or gnus-unique-id-char (logand (random t) (1- (lsh 1 20))))) | 1359 | (% (1+ (or gnus-unique-id-char (logand (random t) (1- (lsh 1 20))))) |
diff --git a/lisp/gnus-score.el b/lisp/gnus-score.el index db30a7551de..03dc644d670 100644 --- a/lisp/gnus-score.el +++ b/lisp/gnus-score.el | |||
| @@ -910,7 +910,7 @@ SCORE is the score to add." | |||
| 910 | (if last | 910 | (if last |
| 911 | (progn | 911 | (progn |
| 912 | ;; Insert the line, with a text property on the | 912 | ;; Insert the line, with a text property on the |
| 913 | ;; terminating newline refering to the articles with | 913 | ;; terminating newline referring to the articles with |
| 914 | ;; this line. | 914 | ;; this line. |
| 915 | (insert last ?\n) | 915 | (insert last ?\n) |
| 916 | (put-text-property (1- (point)) (point) 'articles alike))) | 916 | (put-text-property (1- (point)) (point) 'articles alike))) |
| @@ -1252,7 +1252,7 @@ SCORE is the score to add." | |||
| 1252 | 1252 | ||
| 1253 | (defun gnus-score-string (score-list header now expire &optional trace) | 1253 | (defun gnus-score-string (score-list header now expire &optional trace) |
| 1254 | ;; Score ARTICLES according to HEADER in SCORE-LIST. | 1254 | ;; Score ARTICLES according to HEADER in SCORE-LIST. |
| 1255 | ;; Update matches entries to NOW and remove unmatched entried older | 1255 | ;; Update matching entries to NOW and remove unmatched entries older |
| 1256 | ;; than EXPIRE. | 1256 | ;; than EXPIRE. |
| 1257 | 1257 | ||
| 1258 | ;; Insert the unique article headers in the buffer. | 1258 | ;; Insert the unique article headers in the buffer. |
| @@ -1281,7 +1281,7 @@ SCORE is the score to add." | |||
| 1281 | (if last | 1281 | (if last |
| 1282 | (progn | 1282 | (progn |
| 1283 | ;; Insert the line, with a text property on the | 1283 | ;; Insert the line, with a text property on the |
| 1284 | ;; terminating newline refering to the articles with | 1284 | ;; terminating newline referring to the articles with |
| 1285 | ;; this line. | 1285 | ;; this line. |
| 1286 | (insert last ?\n) | 1286 | (insert last ?\n) |
| 1287 | (put-text-property (1- (point)) (point) 'articles alike))) | 1287 | (put-text-property (1- (point)) (point) 'articles alike))) |
diff --git a/lisp/ielm.el b/lisp/ielm.el index d3d7459bcbc..ec7f00a401b 100644 --- a/lisp/ielm.el +++ b/lisp/ielm.el | |||
| @@ -87,7 +87,7 @@ This variable is buffer-local.") | |||
| 87 | (defvar ielm-header | 87 | (defvar ielm-header |
| 88 | (concat | 88 | (concat |
| 89 | "*** Welcome to IELM version " | 89 | "*** Welcome to IELM version " |
| 90 | (substring "$Revision: 1.4 $" 11 -2) | 90 | (substring "$Revision: 1.5 $" 11 -2) |
| 91 | " *** Type (describe-mode) for help.\n" | 91 | " *** Type (describe-mode) for help.\n" |
| 92 | "IELM has ABSOLUTELY NO WARRANTY; type (describe-no-warranty) for details.\n") | 92 | "IELM has ABSOLUTELY NO WARRANTY; type (describe-no-warranty) for details.\n") |
| 93 | "Message to display when IELM is started.") | 93 | "Message to display when IELM is started.") |
| @@ -145,7 +145,7 @@ This variable is buffer-local.") | |||
| 145 | (or | 145 | (or |
| 146 | ;; the buffer has been modified | 146 | ;; the buffer has been modified |
| 147 | (not (= btick (buffer-modified-tick))) | 147 | (not (= btick (buffer-modified-tick))) |
| 148 | ;; a completions buffer has been modifed or created | 148 | ;; a completions buffer has been modified or created |
| 149 | (if cbuffer | 149 | (if cbuffer |
| 150 | (not (= ctick (buffer-modified-tick cbuffer))) | 150 | (not (= ctick (buffer-modified-tick cbuffer))) |
| 151 | (get-buffer "*Completions*"))))) | 151 | (get-buffer "*Completions*"))))) |
diff --git a/lisp/imenu.el b/lisp/imenu.el index 1b858799634..84731d50066 100644 --- a/lisp/imenu.el +++ b/lisp/imenu.el | |||
| @@ -369,7 +369,7 @@ This function is called after the function pointed out by | |||
| 369 | (/ (* 100 (1- pos)) (max total 1))))) | 369 | (/ (* 100 (1- pos)) (max total 1))))) |
| 370 | 370 | ||
| 371 | ;;; | 371 | ;;; |
| 372 | ;;; Function for suporting general looking submenu names. | 372 | ;;; Function for supporting general looking submenu names. |
| 373 | ;;; Uses `imenu-submenu-name-format' for creating the name. | 373 | ;;; Uses `imenu-submenu-name-format' for creating the name. |
| 374 | ;;; NAME is the base of the new submenu name. | 374 | ;;; NAME is the base of the new submenu name. |
| 375 | ;;; | 375 | ;;; |
diff --git a/lisp/ledit.el b/lisp/ledit.el index f76aa468d89..9721b0eba02 100644 --- a/lisp/ledit.el +++ b/lisp/ledit.el | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | ;; Copyright (C) 1985 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1985 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Maintainer: FSF | 5 | ;; Maintainer: FSF |
| 6 | ;; Keyord: languages | 6 | ;; Keyword: languages |
| 7 | 7 | ||
| 8 | ;; This file is part of GNU Emacs. | 8 | ;; This file is part of GNU Emacs. |
| 9 | 9 | ||
diff --git a/lisp/mail/rnews.el b/lisp/mail/rnews.el index c793fa150eb..790b25cf816 100644 --- a/lisp/mail/rnews.el +++ b/lisp/mail/rnews.el | |||
| @@ -43,7 +43,7 @@ | |||
| 43 | ;; tower@prep Sep 3 1986 | 43 | ;; tower@prep Sep 3 1986 |
| 44 | ;; added news-rotate-buffer-body | 44 | ;; added news-rotate-buffer-body |
| 45 | ;; tower@prep Oct 17 1986 | 45 | ;; tower@prep Oct 17 1986 |
| 46 | ;; made messages more user friendly, cleanuped news-inews | 46 | ;; made messages more user friendly, cleaned up news-inews |
| 47 | ;; move posting and mail code to new file rnewpost.el | 47 | ;; move posting and mail code to new file rnewpost.el |
| 48 | ;; tower@prep Oct 29 1986 | 48 | ;; tower@prep Oct 29 1986 |
| 49 | ;; added caesar-region, rename news-caesar-buffer-body, hacked accordingly | 49 | ;; added caesar-region, rename news-caesar-buffer-body, hacked accordingly |
| @@ -796,7 +796,7 @@ Using ls was found to be too slow in a previous version." | |||
| 796 | (setq tem news-list-of-files) | 796 | (setq tem news-list-of-files) |
| 797 | (while tem | 797 | (while tem |
| 798 | (if (or (not (string-match "^[0-9]*$" (car tem))) | 798 | (if (or (not (string-match "^[0-9]*$" (car tem))) |
| 799 | ;; dont get confused by directories that look like numbers | 799 | ;; don't get confused by directories that look like numbers |
| 800 | (file-directory-p | 800 | (file-directory-p |
| 801 | (concat file-directory "/" (car tem))) | 801 | (concat file-directory "/" (car tem))) |
| 802 | (<= (string-to-int (car tem)) end-file-no)) | 802 | (<= (string-to-int (car tem)) end-file-no)) |
| @@ -858,7 +858,7 @@ Using ls was found to be too slow in a previous version." | |||
| 858 | (defun news-add-news-group (gp) | 858 | (defun news-add-news-group (gp) |
| 859 | "Resubscribe to or add a USENET news group named GROUP (a string)." | 859 | "Resubscribe to or add a USENET news group named GROUP (a string)." |
| 860 | ; @@ (completing-read ...) | 860 | ; @@ (completing-read ...) |
| 861 | ; @@ could be based on news library file ../active (slightly facist) | 861 | ; @@ could be based on news library file ../active (slightly fascist) |
| 862 | ; @@ or (expensive to compute) all directories under the news spool directory | 862 | ; @@ or (expensive to compute) all directories under the news spool directory |
| 863 | (interactive "sAdd news group: ") | 863 | (interactive "sAdd news group: ") |
| 864 | (let ((file-dir (concat news-path (string-subst-char ?/ ?. gp)))) | 864 | (let ((file-dir (concat news-path (string-subst-char ?/ ?. gp)))) |
diff --git a/lisp/mail/rnewspost.el b/lisp/mail/rnewspost.el index 936e3e0edb3..f4019493193 100644 --- a/lisp/mail/rnewspost.el +++ b/lisp/mail/rnewspost.el | |||
| @@ -46,7 +46,7 @@ | |||
| 46 | ;; imported from rmail and modified to work with rnews ... | 46 | ;; imported from rmail and modified to work with rnews ... |
| 47 | ;; Mon Mar 25,1985 at 03:07:04 ads@mit-hermes. | 47 | ;; Mon Mar 25,1985 at 03:07:04 ads@mit-hermes. |
| 48 | ;; this is done so that rnews can operate independently from rmail.el and | 48 | ;; this is done so that rnews can operate independently from rmail.el and |
| 49 | ;; sendmail and dosen't have to autoload these functions. | 49 | ;; sendmail and doesn't have to autoload these functions. |
| 50 | ;; | 50 | ;; |
| 51 | ;;; >> Nuked by Mly to autoload those functions again, as the duplication of | 51 | ;;; >> Nuked by Mly to autoload those functions again, as the duplication of |
| 52 | ;;; >> code was making maintenance too difficult. | 52 | ;;; >> code was making maintenance too difficult. |
diff --git a/lisp/man.el b/lisp/man.el index 4bbc054a936..86270db1e39 100644 --- a/lisp/man.el +++ b/lisp/man.el | |||
| @@ -35,7 +35,7 @@ | |||
| 35 | ;; ========== Credits and History ========== | 35 | ;; ========== Credits and History ========== |
| 36 | ;; In mid 1991, several people posted some interesting improvements to | 36 | ;; In mid 1991, several people posted some interesting improvements to |
| 37 | ;; man.el from the standard emacs 18.57 distribution. I liked many of | 37 | ;; man.el from the standard emacs 18.57 distribution. I liked many of |
| 38 | ;; these, but wanted everthing in one single package, so I decided | 38 | ;; these, but wanted everything in one single package, so I decided |
| 39 | ;; to incorporate them into a single manual browsing mode. While | 39 | ;; to incorporate them into a single manual browsing mode. While |
| 40 | ;; much of the code here has been rewritten, and some features added, | 40 | ;; much of the code here has been rewritten, and some features added, |
| 41 | ;; these folks deserve lots of credit for providing the initial | 41 | ;; these folks deserve lots of credit for providing the initial |
| @@ -56,7 +56,7 @@ | |||
| 56 | 56 | ||
| 57 | ;; Francesco Potorti` <pot@cnuce.cnr.it> cleaned it up thoroughly, | 57 | ;; Francesco Potorti` <pot@cnuce.cnr.it> cleaned it up thoroughly, |
| 58 | ;; making it faster, more robust and more tolerant of different | 58 | ;; making it faster, more robust and more tolerant of different |
| 59 | ;; systems' man idiosynchrasies. | 59 | ;; systems' man idiosyncrasies. |
| 60 | 60 | ||
| 61 | ;; ========== Features ========== | 61 | ;; ========== Features ========== |
| 62 | ;; + Runs "man" in the background and pipes the results through a | 62 | ;; + Runs "man" in the background and pipes the results through a |
diff --git a/lisp/nnbabyl.el b/lisp/nnbabyl.el index 111c0d479cd..0d9ad2c1e09 100644 --- a/lisp/nnbabyl.el +++ b/lisp/nnbabyl.el | |||
| @@ -354,7 +354,7 @@ | |||
| 354 | 354 | ||
| 355 | ;; If FORCE, delete article no matter how many X-Gnus-Newsgroup | 355 | ;; If FORCE, delete article no matter how many X-Gnus-Newsgroup |
| 356 | ;; headers there are. If LEAVE-DELIM, don't delete the Unix mbox | 356 | ;; headers there are. If LEAVE-DELIM, don't delete the Unix mbox |
| 357 | ;; delimeter line. | 357 | ;; delimiter line. |
| 358 | (defun nnbabyl-delete-mail (&optional force leave-delim) | 358 | (defun nnbabyl-delete-mail (&optional force leave-delim) |
| 359 | ;; Delete the current X-Gnus-Newsgroup line. | 359 | ;; Delete the current X-Gnus-Newsgroup line. |
| 360 | (or force | 360 | (or force |
diff --git a/lisp/nneething.el b/lisp/nneething.el index 0980c4d13cf..0ff1a762d40 100644 --- a/lisp/nneething.el +++ b/lisp/nneething.el | |||
| @@ -201,7 +201,7 @@ | |||
| 201 | nneething-group-alist))))))) | 201 | nneething-group-alist))))))) |
| 202 | 202 | ||
| 203 | (defun nneething-map-file () | 203 | (defun nneething-map-file () |
| 204 | ;; We make sure that the .neething directory exists. | 204 | ;; We make sure that the .nneething directory exists. |
| 205 | (make-directory nneething-map-file-directory 'parents) | 205 | (make-directory nneething-map-file-directory 'parents) |
| 206 | ;; We store it in a special directory under the user's home dir. | 206 | ;; We store it in a special directory under the user's home dir. |
| 207 | (concat (file-name-as-directory nneething-map-file-directory) | 207 | (concat (file-name-as-directory nneething-map-file-directory) |
diff --git a/lisp/nnfolder.el b/lisp/nnfolder.el index 17c4d9b1f7b..97064ad61be 100644 --- a/lisp/nnfolder.el +++ b/lisp/nnfolder.el | |||
| @@ -42,7 +42,7 @@ | |||
| 42 | (concat (file-name-as-directory nnfolder-directory) "active") | 42 | (concat (file-name-as-directory nnfolder-directory) "active") |
| 43 | "The name of the active file.") | 43 | "The name of the active file.") |
| 44 | 44 | ||
| 45 | ;; I renamed this variable to somehting more in keeping with the general GNU | 45 | ;; I renamed this variable to something more in keeping with the general GNU |
| 46 | ;; style. -SLB | 46 | ;; style. -SLB |
| 47 | 47 | ||
| 48 | (defvar nnfolder-ignore-active-file nil | 48 | (defvar nnfolder-ignore-active-file nil |
| @@ -566,7 +566,7 @@ such things as moving mail. All buffers always get killed upon server close.") | |||
| 566 | ;; accidentally gotten new mail with something other than Gnus (but why | 566 | ;; accidentally gotten new mail with something other than Gnus (but why |
| 567 | ;; would _that_ ever happen? :-). In that case, we will be in the middle of | 567 | ;; would _that_ ever happen? :-). In that case, we will be in the middle of |
| 568 | ;; processing the file, ready to add new X-Gnus article number markers, and | 568 | ;; processing the file, ready to add new X-Gnus article number markers, and |
| 569 | ;; we'll run accross a message with no ID yet - the active list _may_not_ be | 569 | ;; we'll run across a message with no ID yet - the active list _may_not_ be |
| 570 | ;; ready for us yet. | 570 | ;; ready for us yet. |
| 571 | 571 | ||
| 572 | ;; To handle this, I'm modifying this routine to maintain the maximum ID seen | 572 | ;; To handle this, I'm modifying this routine to maintain the maximum ID seen |
| @@ -593,7 +593,7 @@ such things as moving mail. All buffers always get killed upon server close.") | |||
| 593 | activenumber activemin start end) | 593 | activenumber activemin start end) |
| 594 | (goto-char (point-min)) | 594 | (goto-char (point-min)) |
| 595 | ;; | 595 | ;; |
| 596 | ;; Anytime the active number is 1 or 0, it is supect. In that case, | 596 | ;; Anytime the active number is 1 or 0, it is suspect. In that case, |
| 597 | ;; search the file manually to find the active number. Or, of course, | 597 | ;; search the file manually to find the active number. Or, of course, |
| 598 | ;; if we're being paranoid. (This would also be the place to build | 598 | ;; if we're being paranoid. (This would also be the place to build |
| 599 | ;; other lists from the header markers, such as expunge lists, etc., if | 599 | ;; other lists from the header markers, such as expunge lists, etc., if |
diff --git a/lisp/nnkiboze.el b/lisp/nnkiboze.el index 65b67432e77..35cbb3b5905 100644 --- a/lisp/nnkiboze.el +++ b/lisp/nnkiboze.el | |||
| @@ -101,7 +101,7 @@ If the stream is opened, return T, otherwise return NIL." | |||
| 101 | "Select article by message number." | 101 | "Select article by message number." |
| 102 | (nnkiboze-possibly-change-newsgroups newsgroup) | 102 | (nnkiboze-possibly-change-newsgroups newsgroup) |
| 103 | (if (not (numberp article)) | 103 | (if (not (numberp article)) |
| 104 | ;; This is a real cludge. It might not work at times, but it | 104 | ;; This is a real kludge. It might not work at times, but it |
| 105 | ;; does no harm I think. The only alternative is to offer no | 105 | ;; does no harm I think. The only alternative is to offer no |
| 106 | ;; article fetching by message-id at all. | 106 | ;; article fetching by message-id at all. |
| 107 | (nntp-request-article article newsgroup gnus-nntp-server buffer) | 107 | (nntp-request-article article newsgroup gnus-nntp-server buffer) |
diff --git a/lisp/nnmbox.el b/lisp/nnmbox.el index 500bffa9591..0e20f0c38b5 100644 --- a/lisp/nnmbox.el +++ b/lisp/nnmbox.el | |||
| @@ -338,7 +338,7 @@ | |||
| 338 | 338 | ||
| 339 | ;; If FORCE, delete article no matter how many X-Gnus-Newsgroup | 339 | ;; If FORCE, delete article no matter how many X-Gnus-Newsgroup |
| 340 | ;; headers there are. If LEAVE-DELIM, don't delete the Unix mbox | 340 | ;; headers there are. If LEAVE-DELIM, don't delete the Unix mbox |
| 341 | ;; delimeter line. | 341 | ;; delimiter line. |
| 342 | (defun nnmbox-delete-mail (&optional force leave-delim) | 342 | (defun nnmbox-delete-mail (&optional force leave-delim) |
| 343 | ;; Delete the current X-Gnus-Newsgroup line. | 343 | ;; Delete the current X-Gnus-Newsgroup line. |
| 344 | (or force | 344 | (or force |
diff --git a/lisp/nnmh.el b/lisp/nnmh.el index 2a8664ba00a..321ca20a919 100644 --- a/lisp/nnmh.el +++ b/lisp/nnmh.el | |||
| @@ -311,7 +311,7 @@ | |||
| 311 | (and | 311 | (and |
| 312 | (nnmail-activate 'nnmh) | 312 | (nnmail-activate 'nnmh) |
| 313 | ;; We trick the choosing function into believing that only one | 313 | ;; We trick the choosing function into believing that only one |
| 314 | ;; group is availiable. | 314 | ;; group is available. |
| 315 | (let ((nnmail-split-methods (list (list group "")))) | 315 | (let ((nnmail-split-methods (list (list group "")))) |
| 316 | (car (nnmh-save-mail)))) | 316 | (car (nnmh-save-mail)))) |
| 317 | (and | 317 | (and |
diff --git a/lisp/nnml.el b/lisp/nnml.el index 585a0c71558..5b4f3b45898 100644 --- a/lisp/nnml.el +++ b/lisp/nnml.el | |||
| @@ -327,7 +327,7 @@ all. This may very well take some time.") | |||
| 327 | (and | 327 | (and |
| 328 | (nnmail-activate 'nnml) | 328 | (nnmail-activate 'nnml) |
| 329 | ;; We trick the choosing function into believing that only one | 329 | ;; We trick the choosing function into believing that only one |
| 330 | ;; group is availiable. | 330 | ;; group is available. |
| 331 | (let ((nnmail-split-methods (list (list group "")))) | 331 | (let ((nnmail-split-methods (list (list group "")))) |
| 332 | (setq result (car (nnml-save-mail)))) | 332 | (setq result (car (nnml-save-mail)))) |
| 333 | (progn | 333 | (progn |
diff --git a/lisp/nnspool.el b/lisp/nnspool.el index 3d1351f89bd..7609f688462 100644 --- a/lisp/nnspool.el +++ b/lisp/nnspool.el | |||
| @@ -366,7 +366,7 @@ Newsgroup must be selected before calling this function." | |||
| 366 | (nnspool-sift-nov-with-sed articles nov) | 366 | (nnspool-sift-nov-with-sed articles nov) |
| 367 | (insert-file-contents nov) | 367 | (insert-file-contents nov) |
| 368 | ;; First we find the first wanted line. We issue a number | 368 | ;; First we find the first wanted line. We issue a number |
| 369 | ;; of search-forwards - the first article we are lookign | 369 | ;; of search-forwards - the first article we are looking |
| 370 | ;; for may be expired, so we have to go on searching until | 370 | ;; for may be expired, so we have to go on searching until |
| 371 | ;; we find one of the articles we want. | 371 | ;; we find one of the articles we want. |
| 372 | (while (and articles | 372 | (while (and articles |
diff --git a/lisp/nntp.el b/lisp/nntp.el index f610bc1ad7e..97c2d006292 100644 --- a/lisp/nntp.el +++ b/lisp/nntp.el | |||
| @@ -326,7 +326,7 @@ instead call function `nntp-status-message' to get status message.") | |||
| 326 | (if nntp-server-list-active-group | 326 | (if nntp-server-list-active-group |
| 327 | (progn | 327 | (progn |
| 328 | ;; We have read active entries, so we just delete the | 328 | ;; We have read active entries, so we just delete the |
| 329 | ;; superfluos gunk. | 329 | ;; superfluous gunk. |
| 330 | (goto-char (point-min)) | 330 | (goto-char (point-min)) |
| 331 | (while (re-search-forward "^[.2-5]" nil t) | 331 | (while (re-search-forward "^[.2-5]" nil t) |
| 332 | (delete-region (match-beginning 0) | 332 | (delete-region (match-beginning 0) |
| @@ -936,7 +936,7 @@ It will prompt for a password." | |||
| 936 | (accept-process-output) | 936 | (accept-process-output) |
| 937 | ;; On some Emacs versions the preceding function has | 937 | ;; On some Emacs versions the preceding function has |
| 938 | ;; a tendency to change the buffer. Perhaps. It's | 938 | ;; a tendency to change the buffer. Perhaps. It's |
| 939 | ;; quite difficult to reporduce, because it only | 939 | ;; quite difficult to reproduce, because it only |
| 940 | ;; seems to happen once in a blue moon. | 940 | ;; seems to happen once in a blue moon. |
| 941 | (set-buffer buf) | 941 | (set-buffer buf) |
| 942 | (while (progn | 942 | (while (progn |
diff --git a/lisp/play/gomoku.el b/lisp/play/gomoku.el index 30677c4ebd8..ef03fb5b700 100644 --- a/lisp/play/gomoku.el +++ b/lisp/play/gomoku.el | |||
| @@ -266,8 +266,8 @@ is non-nil." | |||
| 266 | ;; please send me a note. Thanks. | 266 | ;; please send me a note. Thanks. |
| 267 | 267 | ||
| 268 | 268 | ||
| 269 | ;; As we choosed values 0, 1 and 6 to denote empty, X and O squares, the | 269 | ;; As we chose values 0, 1 and 6 to denote empty, X and O squares, the |
| 270 | ;; contents of a qtuple is uniquely determined by the sum of its elements and | 270 | ;; contents of a qtuple are uniquely determined by the sum of its elements and |
| 271 | ;; we just have to set up a translation table. | 271 | ;; we just have to set up a translation table. |
| 272 | 272 | ||
| 273 | (defconst gomoku-score-trans-table | 273 | (defconst gomoku-score-trans-table |
diff --git a/lisp/play/mpuz.el b/lisp/play/mpuz.el index 346567b2f5c..2517b241557 100644 --- a/lisp/play/mpuz.el +++ b/lisp/play/mpuz.el | |||
| @@ -185,7 +185,7 @@ You may abort a game by typing \\<mpuz-mode-map>\\[mpuz-offer-abort]." | |||
| 185 | D (* A (/ B 10)) | 185 | D (* A (/ B 10)) |
| 186 | E (* A B)) | 186 | E (* A B)) |
| 187 | (or (< C 1000) (< D 1000)))) ; forbid leading zeros in C or D | 187 | (or (< C 1000) (< D 1000)))) ; forbid leading zeros in C or D |
| 188 | ;; Individual digits are now put on their respectives squares. | 188 | ;; Individual digits are now put on their respective squares. |
| 189 | ;; [NB: A square is a pair <row,column> of the screen.] | 189 | ;; [NB: A square is a pair <row,column> of the screen.] |
| 190 | (mpuz-put-digit-on-board A '(2 . 9)) | 190 | (mpuz-put-digit-on-board A '(2 . 9)) |
| 191 | (mpuz-put-digit-on-board (/ A 10) '(2 . 7)) | 191 | (mpuz-put-digit-on-board (/ A 10) '(2 . 7)) |
diff --git a/lisp/progmodes/f90.el b/lisp/progmodes/f90.el index b82223e829b..cb1618ca8ab 100644 --- a/lisp/progmodes/f90.el +++ b/lisp/progmodes/f90.el | |||
| @@ -248,7 +248,7 @@ whether to blink the matching beginning.") | |||
| 248 | ;; "set_exponent" "shape" "sign" "sin" "sinh" "size" "spacing" "spread" | 248 | ;; "set_exponent" "shape" "sign" "sin" "sinh" "size" "spacing" "spread" |
| 249 | ;; "sqrt" "sum" "system_clock" "tan" "tanh" "tiny" "transfer" "transpose" | 249 | ;; "sqrt" "sum" "system_clock" "tan" "tanh" "tiny" "transfer" "transpose" |
| 250 | ;; "trim" "ubound" "unpack" "verify") | 250 | ;; "trim" "ubound" "unpack" "verify") |
| 251 | ;; A left paranthesis to avoid highlighting non-procedures. | 251 | ;; A left parenthesis to avoid highlighting non-procedures. |
| 252 | ;; Real is taken out here to avoid highlighting declarations. | 252 | ;; Real is taken out here to avoid highlighting declarations. |
| 253 | (concat | 253 | (concat |
| 254 | "\\<\\(a\\(bs\\|c\\(har\\|os\\)\\|djust[lr]\\|i\\(mag\\|nt\\)\\|ll\\(\\|" | 254 | "\\<\\(a\\(bs\\|c\\(har\\|os\\)\\|djust[lr]\\|i\\(mag\\|nt\\)\\|ll\\(\\|" |
diff --git a/lisp/progmodes/perl-mode.el b/lisp/progmodes/perl-mode.el index 4157554fdef..c8f5568d84f 100644 --- a/lisp/progmodes/perl-mode.el +++ b/lisp/progmodes/perl-mode.el | |||
| @@ -31,7 +31,7 @@ | |||
| 31 | ;; To enter perl-mode automatically, add (autoload 'perl-mode "perl-mode") | 31 | ;; To enter perl-mode automatically, add (autoload 'perl-mode "perl-mode") |
| 32 | ;; to your .emacs file and change the first line of your perl script to: | 32 | ;; to your .emacs file and change the first line of your perl script to: |
| 33 | ;; #!/usr/bin/perl -- # -*-Perl-*- | 33 | ;; #!/usr/bin/perl -- # -*-Perl-*- |
| 34 | ;; With argments to perl: | 34 | ;; With arguments to perl: |
| 35 | ;; #!/usr/bin/perl -P- # -*-Perl-*- | 35 | ;; #!/usr/bin/perl -P- # -*-Perl-*- |
| 36 | ;; To handle files included with do 'filename.pl';, add something like | 36 | ;; To handle files included with do 'filename.pl';, add something like |
| 37 | ;; (setq auto-mode-alist (append (list (cons "\\.pl\\'" 'perl-mode)) | 37 | ;; (setq auto-mode-alist (append (list (cons "\\.pl\\'" 'perl-mode)) |
diff --git a/lisp/ps-print.el b/lisp/ps-print.el index 90cfcab2fc2..ae6c38f687e 100644 --- a/lisp/ps-print.el +++ b/lisp/ps-print.el | |||
| @@ -83,7 +83,7 @@ | |||
| 83 | ;; printout than to find 50 single-page printouts). | 83 | ;; printout than to find 50 single-page printouts). |
| 84 | ;; | 84 | ;; |
| 85 | ;; Ps-print has a hook in the kill-emacs-hooks so that you won't | 85 | ;; Ps-print has a hook in the kill-emacs-hooks so that you won't |
| 86 | ;; accidently quit from Emacs while you have unprinted PostScript | 86 | ;; accidentally quit from Emacs while you have unprinted PostScript |
| 87 | ;; waiting in the spool buffer. If you do attempt to exit with | 87 | ;; waiting in the spool buffer. If you do attempt to exit with |
| 88 | ;; spooled PostScript, you'll be asked if you want to print it, and if | 88 | ;; spooled PostScript, you'll be asked if you want to print it, and if |
| 89 | ;; you decline, you'll be asked to confirm the exit; this is modeled | 89 | ;; you decline, you'll be asked to confirm the exit; this is modeled |
| @@ -198,7 +198,7 @@ | |||
| 198 | ;; Ps-print keeps internal lists of which fonts are bold and which are | 198 | ;; Ps-print keeps internal lists of which fonts are bold and which are |
| 199 | ;; italic; these lists are built the first time you invoke ps-print. | 199 | ;; italic; these lists are built the first time you invoke ps-print. |
| 200 | ;; For the sake of efficiency, the lists are built only once; the same | 200 | ;; For the sake of efficiency, the lists are built only once; the same |
| 201 | ;; lists are referred in later invokations of ps-print. | 201 | ;; lists are referred in later invocations of ps-print. |
| 202 | ;; | 202 | ;; |
| 203 | ;; Because these lists are built only once, it's possible for them to | 203 | ;; Because these lists are built only once, it's possible for them to |
| 204 | ;; get out of sync, if a face changes, or if new faces are added. To | 204 | ;; get out of sync, if a face changes, or if new faces are added. To |
| @@ -255,7 +255,7 @@ | |||
| 255 | ;; or variables. Functions are called, and should return a string to | 255 | ;; or variables. Functions are called, and should return a string to |
| 256 | ;; show in the header. Variables should contain strings to display in | 256 | ;; show in the header. Variables should contain strings to display in |
| 257 | ;; the header. In either case, function or variable, the PostScript | 257 | ;; the header. In either case, function or variable, the PostScript |
| 258 | ;; strings delimeters are added by ps-print, and should not be part of | 258 | ;; string delimiters are added by ps-print, and should not be part of |
| 259 | ;; the returned value. | 259 | ;; the returned value. |
| 260 | ;; | 260 | ;; |
| 261 | ;; Here's an example: say we want the left header to display the text | 261 | ;; Here's an example: say we want the left header to display the text |
| @@ -1836,7 +1836,7 @@ EndDSCPage\n")) | |||
| 1836 | ;; the postscript was generated without error. | 1836 | ;; the postscript was generated without error. |
| 1837 | (setq completed-safely t)) | 1837 | (setq completed-safely t)) |
| 1838 | 1838 | ||
| 1839 | ;; Unwind form: If some bad mojo ocurred while generating | 1839 | ;; Unwind form: If some bad mojo occurred while generating |
| 1840 | ;; postscript, delete all the postscript that was generated. | 1840 | ;; postscript, delete all the postscript that was generated. |
| 1841 | ;; This protects the previously spooled files from getting | 1841 | ;; This protects the previously spooled files from getting |
| 1842 | ;; corrupted. | 1842 | ;; corrupted. |
diff --git a/lisp/s-region.el b/lisp/s-region.el index fa2f855b711..3ddef442a76 100644 --- a/lisp/s-region.el +++ b/lisp/s-region.el | |||
| @@ -25,7 +25,7 @@ | |||
| 25 | 25 | ||
| 26 | ;; Having loaded this code you can set the region by holding down the | 26 | ;; Having loaded this code you can set the region by holding down the |
| 27 | ;; shift key and move the cursor to the other end of the region. The | 27 | ;; shift key and move the cursor to the other end of the region. The |
| 28 | ;; functionallity provided by this code is similar to that provided by | 28 | ;; functionality provided by this code is similar to that provided by |
| 29 | ;; the editors of Borland International's compilers for ms-dos. | 29 | ;; the editors of Borland International's compilers for ms-dos. |
| 30 | 30 | ||
| 31 | ;; Currently, s-region-move may be bound only to events that are vectors | 31 | ;; Currently, s-region-move may be bound only to events that are vectors |
diff --git a/lisp/sun-fns.el b/lisp/sun-fns.el index dd4371cd6ec..c36dc7a8a26 100644 --- a/lisp/sun-fns.el +++ b/lisp/sun-fns.el | |||
| @@ -319,7 +319,7 @@ this command is insensitive to mouse location." | |||
| 319 | relative X divided by window width." | 319 | relative X divided by window width." |
| 320 | (eval-in-window window | 320 | (eval-in-window window |
| 321 | (if (>= x (1- (window-width))) | 321 | (if (>= x (1- (window-width))) |
| 322 | ;; When x is maximun (equal to or 1 less than window width), | 322 | ;; When x is maximum (equal to or 1 less than window width), |
| 323 | ;; goto end of buffer. We check for this special case | 323 | ;; goto end of buffer. We check for this special case |
| 324 | ;; because the calculated goto-char often goes short of the | 324 | ;; because the calculated goto-char often goes short of the |
| 325 | ;; end due to roundoff error, and we often really want to go | 325 | ;; end due to roundoff error, and we often really want to go |
diff --git a/lisp/tar-mode.el b/lisp/tar-mode.el index e0cdf304b72..e2eabf59556 100644 --- a/lisp/tar-mode.el +++ b/lisp/tar-mode.el | |||
| @@ -851,7 +851,7 @@ With a prefix argument, un-mark that many files backward." | |||
| 851 | (let ((line-len (- (point) line-start))) | 851 | (let ((line-len (- (point) line-start))) |
| 852 | (delete-region line-start (point)) | 852 | (delete-region line-start (point)) |
| 853 | ;; | 853 | ;; |
| 854 | ;; decrement the header-pointer to be in synch... | 854 | ;; decrement the header-pointer to be in sync... |
| 855 | (setq tar-header-offset (- tar-header-offset line-len)))) | 855 | (setq tar-header-offset (- tar-header-offset line-len)))) |
| 856 | ;; | 856 | ;; |
| 857 | ;; delete the data pointer... | 857 | ;; delete the data pointer... |
diff --git a/lisp/term/pc-win.el b/lisp/term/pc-win.el index c11634c15a5..0d01b10fae5 100644 --- a/lisp/term/pc-win.el +++ b/lisp/term/pc-win.el | |||
| @@ -102,7 +102,7 @@ | |||
| 102 | ;; We have only one font, so... | 102 | ;; We have only one font, so... |
| 103 | (add-hook 'before-init-hook 'msdos-face-setup) | 103 | (add-hook 'before-init-hook 'msdos-face-setup) |
| 104 | ;; --------------------------------------------------------------------------- | 104 | ;; --------------------------------------------------------------------------- |
| 105 | ;; More or less useful immitations of certain X-functions. A lot of the | 105 | ;; More or less useful imitations of certain X-functions. A lot of the |
| 106 | ;; values returned are questionable, but usually only the form of the | 106 | ;; values returned are questionable, but usually only the form of the |
| 107 | ;; returned value matters. Also, by the way, recall that `ignore' is | 107 | ;; returned value matters. Also, by the way, recall that `ignore' is |
| 108 | ;; a useful function for returning 'nil regardless of argument. | 108 | ;; a useful function for returning 'nil regardless of argument. |
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 8064b5e0582..7c71d1d53f8 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el | |||
| @@ -1324,7 +1324,7 @@ Optional second argument contains the dictionary to use; the default is | |||
| 1324 | ;;; multiple lines. | 1324 | ;;; multiple lines. |
| 1325 | ;;; "ispell-filter-continue" is true when we have received only part of a | 1325 | ;;; "ispell-filter-continue" is true when we have received only part of a |
| 1326 | ;;; line as output from a generating function ("output" did not end with \n) | 1326 | ;;; line as output from a generating function ("output" did not end with \n) |
| 1327 | ;;; NOTE THAT THIS FUNCTION WILL FAIL IF THE PROCESS OUTPUT DOESNT END WITH \n! | 1327 | ;;; THIS FUNCTION WILL FAIL IF THE PROCESS OUTPUT DOESN'T END WITH \n! |
| 1328 | ;;; This is the case when a process dies or fails. The default behavior | 1328 | ;;; This is the case when a process dies or fails. The default behavior |
| 1329 | ;;; in this case treats the next input received as fresh input. | 1329 | ;;; in this case treats the next input received as fresh input. |
| 1330 | 1330 | ||
| @@ -1370,7 +1370,7 @@ otherwise it is displayed normally." | |||
| 1370 | (inhibit-quit t) ; inhibit interrupt processing here. | 1370 | (inhibit-quit t) ; inhibit interrupt processing here. |
| 1371 | (buffer-undo-list t)) ; don't clutter the undo list. | 1371 | (buffer-undo-list t)) ; don't clutter the undo list. |
| 1372 | (delete-region start end) | 1372 | (delete-region start end) |
| 1373 | (insert-char ? (- end start)) ; mimimize amount of redisplay | 1373 | (insert-char ? (- end start)) ; minimize amount of redisplay |
| 1374 | (sit-for 0) ; update display | 1374 | (sit-for 0) ; update display |
| 1375 | (if highlight (setq inverse-video (not inverse-video))) ; toggle video | 1375 | (if highlight (setq inverse-video (not inverse-video))) ; toggle video |
| 1376 | (delete-region start end) ; delete whitespace | 1376 | (delete-region start end) ; delete whitespace |
| @@ -2200,7 +2200,7 @@ You can bind this to the key C-c i in GNUS or mail by adding to | |||
| 2200 | (point)))) | 2200 | (point)))) |
| 2201 | (end (or (and end-c end-fwd (min end-c end-fwd)) | 2201 | (end (or (and end-c end-fwd (min end-c end-fwd)) |
| 2202 | end-c end-fwd | 2202 | end-c end-fwd |
| 2203 | ;; defalut to limit of text. | 2203 | ;; default to limit of text. |
| 2204 | (marker-position limit)))) | 2204 | (marker-position limit)))) |
| 2205 | (goto-char start) | 2205 | (goto-char start) |
| 2206 | (ispell-region start end) | 2206 | (ispell-region start end) |
diff --git a/lisp/textmodes/ooutline.el b/lisp/textmodes/ooutline.el index 6046de427c4..7e504904333 100644 --- a/lisp/textmodes/ooutline.el +++ b/lisp/textmodes/ooutline.el | |||
| @@ -145,7 +145,7 @@ in the file it applies to.") | |||
| 145 | (3 . font-lock-comment-face)))) | 145 | (3 . font-lock-comment-face)))) |
| 146 | font-lock-variable-name-face)) | 146 | font-lock-variable-name-face)) |
| 147 | nil t)) | 147 | nil t)) |
| 148 | ;; Highight citations of the form [1] and [Mar94]. | 148 | ;; Highlight citations of the form [1] and [Mar94]. |
| 149 | ("\\[\\([A-Z][A-Za-z]+\\)*[0-9]+\\]" . font-lock-type-face)) | 149 | ("\\[\\([A-Z][A-Za-z]+\\)*[0-9]+\\]" . font-lock-type-face)) |
| 150 | "Additional expressions to highlight in Outline mode.") | 150 | "Additional expressions to highlight in Outline mode.") |
| 151 | 151 | ||
diff --git a/lisp/textmodes/outline.el b/lisp/textmodes/outline.el index b872557d230..b36e3c76163 100644 --- a/lisp/textmodes/outline.el +++ b/lisp/textmodes/outline.el | |||
| @@ -145,7 +145,7 @@ in the file it applies to.") | |||
| 145 | (3 . font-lock-comment-face)))) | 145 | (3 . font-lock-comment-face)))) |
| 146 | font-lock-variable-name-face)) | 146 | font-lock-variable-name-face)) |
| 147 | nil t)) | 147 | nil t)) |
| 148 | ;; Highight citations of the form [1] and [Mar94]. | 148 | ;; Highlight citations of the form [1] and [Mar94]. |
| 149 | ("\\[\\([A-Z][A-Za-z]+\\)*[0-9]+\\]" . font-lock-type-face)) | 149 | ("\\[\\([A-Z][A-Za-z]+\\)*[0-9]+\\]" . font-lock-type-face)) |
| 150 | "Additional expressions to highlight in Outline mode.") | 150 | "Additional expressions to highlight in Outline mode.") |
| 151 | 151 | ||
diff --git a/lisp/textmodes/page-ext.el b/lisp/textmodes/page-ext.el index f00146a08f8..2a5ab9ef4a5 100644 --- a/lisp/textmodes/page-ext.el +++ b/lisp/textmodes/page-ext.el | |||
| @@ -161,7 +161,7 @@ | |||
| 161 | 161 | ||
| 162 | ; You may use either the `C-x C-p d' (pages-directory-for-addresses) | 162 | ; You may use either the `C-x C-p d' (pages-directory-for-addresses) |
| 163 | ; or the `C-x C-p C-d' (pages-directory) command to construct and | 163 | ; or the `C-x C-p C-d' (pages-directory) command to construct and |
| 164 | ; dislay a directory of all the heading lines. | 164 | ; display a directory of all the heading lines. |
| 165 | 165 | ||
| 166 | ; In the directory, you may position the cursor over a heading line | 166 | ; In the directory, you may position the cursor over a heading line |
| 167 | ; and type `C-c C-c' (pages-directory-goto) to go to the entry to | 167 | ; and type `C-c C-c' (pages-directory-goto) to go to the entry to |
diff --git a/lisp/textmodes/texinfmt.el b/lisp/textmodes/texinfmt.el index 497c4d784bc..e4b0edf1b31 100644 --- a/lisp/textmodes/texinfmt.el +++ b/lisp/textmodes/texinfmt.el | |||
| @@ -2893,7 +2893,7 @@ The command `@value{foo}' expands to the value." | |||
| 2893 | ;; In the original version, include files were ignored by Info but | 2893 | ;; In the original version, include files were ignored by Info but |
| 2894 | ;; incorporated in to the printed manual. To make references to the | 2894 | ;; incorporated in to the printed manual. To make references to the |
| 2895 | ;; included file, the Texinfo source file has to refer to the included | 2895 | ;; included file, the Texinfo source file has to refer to the included |
| 2896 | ;; files using the `(filename)nodename' format for refering to other | 2896 | ;; files using the `(filename)nodename' format for referring to other |
| 2897 | ;; Info files. Also, the included files had to be formatted on their | 2897 | ;; Info files. Also, the included files had to be formatted on their |
| 2898 | ;; own. It was just like they were another file. | 2898 | ;; own. It was just like they were another file. |
| 2899 | 2899 | ||
diff --git a/lisp/vc-hooks.el b/lisp/vc-hooks.el index b8ec3871647..f20b1e15820 100644 --- a/lisp/vc-hooks.el +++ b/lisp/vc-hooks.el | |||
| @@ -183,7 +183,7 @@ See also variable `vc-consult-headers'.") | |||
| 183 | ;; Insert the contents of FILE into the current buffer. | 183 | ;; Insert the contents of FILE into the current buffer. |
| 184 | ;; Optional argument LIMIT is a regexp. If present, | 184 | ;; Optional argument LIMIT is a regexp. If present, |
| 185 | ;; the file is inserted in chunks of size BLOCKSIZE | 185 | ;; the file is inserted in chunks of size BLOCKSIZE |
| 186 | ;; (default 8 kByte), until the first occurence of | 186 | ;; (default 8 kByte), until the first occurrence of |
| 187 | ;; LIMIT is found. The function returns nil if FILE | 187 | ;; LIMIT is found. The function returns nil if FILE |
| 188 | ;; doesn't exist. | 188 | ;; doesn't exist. |
| 189 | (erase-buffer) | 189 | (erase-buffer) |
diff --git a/lisp/vc.el b/lisp/vc.el index 0454701a605..e71dd51cef6 100644 --- a/lisp/vc.el +++ b/lisp/vc.el | |||
| @@ -827,7 +827,7 @@ merge in the changes into your working copy." | |||
| 827 | 827 | ||
| 828 | (defun vc-resynch-window (file &optional keep noquery) | 828 | (defun vc-resynch-window (file &optional keep noquery) |
| 829 | ;; If the given file is in the current buffer, | 829 | ;; If the given file is in the current buffer, |
| 830 | ;; either revert on it so we see expanded keyworks, | 830 | ;; either revert on it so we see expanded keywords, |
| 831 | ;; or unvisit it (depending on vc-keep-workfiles) | 831 | ;; or unvisit it (depending on vc-keep-workfiles) |
| 832 | ;; NOQUERY if non-nil inhibits confirmation for reverting. | 832 | ;; NOQUERY if non-nil inhibits confirmation for reverting. |
| 833 | ;; NOQUERY should be t *only* if it is known the only difference | 833 | ;; NOQUERY should be t *only* if it is known the only difference |
| @@ -2006,7 +2006,7 @@ From a program, any arguments are passed to the `rcs2log' script." | |||
| 2006 | ;; Automatically retrieves a read-only version of the file with | 2006 | ;; Automatically retrieves a read-only version of the file with |
| 2007 | ;; keywords expanded if vc-keep-workfiles is non-nil, otherwise | 2007 | ;; keywords expanded if vc-keep-workfiles is non-nil, otherwise |
| 2008 | ;; it deletes the workfile. | 2008 | ;; it deletes the workfile. |
| 2009 | ;; Adaption for RCS branch support: if this is an explicit checkin, | 2009 | ;; Adaptation for RCS branch support: if this is an explicit checkin, |
| 2010 | ;; or if the checkin creates a new branch, set the master file branch | 2010 | ;; or if the checkin creates a new branch, set the master file branch |
| 2011 | ;; accordingly. | 2011 | ;; accordingly. |
| 2012 | (message "Checking in %s..." file) | 2012 | (message "Checking in %s..." file) |
| @@ -2418,7 +2418,7 @@ Invoke FUNC f ARGS on each non-directory file f underneath it." | |||
| 2418 | ;;; during the entire execution of vc-next-action, or (b) detect and | 2418 | ;;; during the entire execution of vc-next-action, or (b) detect and |
| 2419 | ;;; recover from errors resulting from dispatch on an out-of-date state. | 2419 | ;;; recover from errors resulting from dispatch on an out-of-date state. |
| 2420 | ;;; | 2420 | ;;; |
| 2421 | ;;; Alternative (a) appears to be unfeasible. The problem is that we can't | 2421 | ;;; Alternative (a) appears to be infeasible. The problem is that we can't |
| 2422 | ;;; guarantee that the lock will ever be removed. Suppose a user starts a | 2422 | ;;; guarantee that the lock will ever be removed. Suppose a user starts a |
| 2423 | ;;; checkin, the change message buffer pops up, and the user, having wandered | 2423 | ;;; checkin, the change message buffer pops up, and the user, having wandered |
| 2424 | ;;; off to do something else, simply forgets about it? | 2424 | ;;; off to do something else, simply forgets about it? |