diff options
| author | Paul Eggert | 2011-11-14 15:59:56 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-11-14 15:59:56 -0800 |
| commit | 91af3942e9ab5540b3ab4dde6733bc883dc2abdd (patch) | |
| tree | 7a83e35278714a4498663fc968d36210d8c6436e /lisp/progmodes | |
| parent | 5ef215d87480e348e432b4e323b1ba24e27ebf81 (diff) | |
| download | emacs-91af3942e9ab5540b3ab4dde6733bc883dc2abdd.tar.gz emacs-91af3942e9ab5540b3ab4dde6733bc883dc2abdd.zip | |
Spelling fixes.
Diffstat (limited to 'lisp/progmodes')
| -rw-r--r-- | lisp/progmodes/ada-xref.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/cc-engine.el | 16 | ||||
| -rw-r--r-- | lisp/progmodes/cc-vars.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/cperl-mode.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/fortran.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/gdb-mi.el | 4 | ||||
| -rw-r--r-- | lisp/progmodes/gud.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/meta-mode.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/prolog.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/sql.el | 18 |
10 files changed, 26 insertions, 26 deletions
diff --git a/lisp/progmodes/ada-xref.el b/lisp/progmodes/ada-xref.el index 4a57a1eef67..4cf00cd3cfd 100644 --- a/lisp/progmodes/ada-xref.el +++ b/lisp/progmodes/ada-xref.el | |||
| @@ -1747,7 +1747,7 @@ Information is extracted from the ali file." | |||
| 1747 | 1747 | ||
| 1748 | (unless declaration-found | 1748 | (unless declaration-found |
| 1749 | 1749 | ||
| 1750 | ;; Since we alread know the number of the file, search for a direct | 1750 | ;; Since we already know the number of the file, search for a direct |
| 1751 | ;; reference to it | 1751 | ;; reference to it |
| 1752 | (goto-char (point-min)) | 1752 | (goto-char (point-min)) |
| 1753 | (set 'declaration-found t) | 1753 | (set 'declaration-found t) |
diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el index ea0a8f2d3b3..fd32e5e956c 100644 --- a/lisp/progmodes/cc-engine.el +++ b/lisp/progmodes/cc-engine.el | |||
| @@ -988,7 +988,7 @@ comment at the start of cc-engine.el for more info." | |||
| 988 | ;; Just gone back over an ordinary symbol of some sort? | 988 | ;; Just gone back over an ordinary symbol of some sort? |
| 989 | (t (c-crosses-statement-barrier-p | 989 | (t (c-crosses-statement-barrier-p |
| 990 | (point) maybe-after-boundary-pos)))) | 990 | (point) maybe-after-boundary-pos)))) |
| 991 | 991 | ||
| 992 | (when boundary-pos | 992 | (when boundary-pos |
| 993 | (setq pptok ptok | 993 | (setq pptok ptok |
| 994 | ptok tok | 994 | ptok tok |
| @@ -1065,7 +1065,7 @@ comment at the start of cc-engine.el for more info." | |||
| 1065 | pos tok) ; always non-nil | 1065 | pos tok) ; always non-nil |
| 1066 | ) ; end of (catch loop ....) | 1066 | ) ; end of (catch loop ....) |
| 1067 | ) ; end of sexp-at-a-time (while ....) | 1067 | ) ; end of sexp-at-a-time (while ....) |
| 1068 | 1068 | ||
| 1069 | ;; If the stack isn't empty there might be errors to report. | 1069 | ;; If the stack isn't empty there might be errors to report. |
| 1070 | (while stack | 1070 | (while stack |
| 1071 | (if (and (vectorp saved-pos) (eq (length saved-pos) 3)) | 1071 | (if (and (vectorp saved-pos) (eq (length saved-pos) 3)) |
| @@ -1795,7 +1795,7 @@ comment at the start of cc-engine.el for more info." | |||
| 1795 | rung-is-marked simple-ws-beg cmt-skip-pos) | 1795 | rung-is-marked simple-ws-beg cmt-skip-pos) |
| 1796 | 1796 | ||
| 1797 | ;; Skip simple horizontal ws and do a quick check on the preceding | 1797 | ;; Skip simple horizontal ws and do a quick check on the preceding |
| 1798 | ;; character to see if it's anying that can't end syntactic ws, so we can | 1798 | ;; character to see if it's anything that can't end syntactic ws, so we can |
| 1799 | ;; bail out early in the majority of cases when there just are a few ws | 1799 | ;; bail out early in the majority of cases when there just are a few ws |
| 1800 | ;; chars. Newlines are complicated in the backward direction, so we can't | 1800 | ;; chars. Newlines are complicated in the backward direction, so we can't |
| 1801 | ;; skip over them. | 1801 | ;; skip over them. |
| @@ -4051,7 +4051,7 @@ comment at the start of cc-engine.el for more info." | |||
| 4051 | ;; a relevant match. | 4051 | ;; a relevant match. |
| 4052 | (goto-char pos) | 4052 | (goto-char pos) |
| 4053 | nil)))))) | 4053 | nil)))))) |
| 4054 | 4054 | ||
| 4055 | (> (point) | 4055 | (> (point) |
| 4056 | (progn | 4056 | (progn |
| 4057 | ;; Skip syntactic ws afterwards so that we don't stop at the | 4057 | ;; Skip syntactic ws afterwards so that we don't stop at the |
| @@ -6277,7 +6277,7 @@ comment at the start of cc-engine.el for more info." | |||
| 6277 | ;; car ^ ^ point | 6277 | ;; car ^ ^ point |
| 6278 | ;; Foo::Foo (int b) : Base (b) {} | 6278 | ;; Foo::Foo (int b) : Base (b) {} |
| 6279 | ;; car ^ ^ point | 6279 | ;; car ^ ^ point |
| 6280 | ;; | 6280 | ;; |
| 6281 | ;; The cdr of the return value is non-nil when a | 6281 | ;; The cdr of the return value is non-nil when a |
| 6282 | ;; `c-typedef-decl-kwds' specifier is found in the declaration. | 6282 | ;; `c-typedef-decl-kwds' specifier is found in the declaration. |
| 6283 | ;; Specifically it is a dotted pair (A . B) where B is t when a | 6283 | ;; Specifically it is a dotted pair (A . B) where B is t when a |
| @@ -6285,7 +6285,7 @@ comment at the start of cc-engine.el for more info." | |||
| 6285 | ;; other `c-typedef-decl-kwds' (e.g. class, struct, enum) | 6285 | ;; other `c-typedef-decl-kwds' (e.g. class, struct, enum) |
| 6286 | ;; specifier is present. I.e., (some of) the declared | 6286 | ;; specifier is present. I.e., (some of) the declared |
| 6287 | ;; identifier(s) are types. | 6287 | ;; identifier(s) are types. |
| 6288 | ;; | 6288 | ;; |
| 6289 | ;; If a cast is parsed: | 6289 | ;; If a cast is parsed: |
| 6290 | ;; | 6290 | ;; |
| 6291 | ;; The point is left at the first token after the closing paren of | 6291 | ;; The point is left at the first token after the closing paren of |
| @@ -8461,7 +8461,7 @@ comment at the start of cc-engine.el for more info." | |||
| 8461 | nil) | 8461 | nil) |
| 8462 | (t nil)))) | 8462 | (t nil)))) |
| 8463 | (eolp)) | 8463 | (eolp)) |
| 8464 | 8464 | ||
| 8465 | (goto-char pos) | 8465 | (goto-char pos) |
| 8466 | (progn (c-backward-syntactic-ws) | 8466 | (progn (c-backward-syntactic-ws) |
| 8467 | (eq (point) pos)) | 8467 | (eq (point) pos)) |
| @@ -8922,7 +8922,7 @@ comment at the start of cc-engine.el for more info." | |||
| 8922 | ;; FIXME: Should use c-add-stmt-syntax, but it's not yet | 8922 | ;; FIXME: Should use c-add-stmt-syntax, but it's not yet |
| 8923 | ;; template aware. | 8923 | ;; template aware. |
| 8924 | (c-add-syntax 'template-args-cont (point) placeholder)) | 8924 | (c-add-syntax 'template-args-cont (point) placeholder)) |
| 8925 | 8925 | ||
| 8926 | ;; CASE D: continued statement. | 8926 | ;; CASE D: continued statement. |
| 8927 | (t | 8927 | (t |
| 8928 | (c-beginning-of-statement-1 containing-sexp) | 8928 | (c-beginning-of-statement-1 containing-sexp) |
diff --git a/lisp/progmodes/cc-vars.el b/lisp/progmodes/cc-vars.el index c7e78cb282a..02256ead392 100644 --- a/lisp/progmodes/cc-vars.el +++ b/lisp/progmodes/cc-vars.el | |||
| @@ -963,7 +963,7 @@ this is `c-lineup-ObjC-method-call', which would align it like: | |||
| 963 | [foo blahBlahBlah: fred | 963 | [foo blahBlahBlah: fred |
| 964 | thisIsTooDamnLong: barney | 964 | thisIsTooDamnLong: barney |
| 965 | 965 | ||
| 966 | This behaviour can be overridden by customizing the indentation of | 966 | This behavior can be overridden by customizing the indentation of |
| 967 | `objc-method-call-cont' in the \"objc\" style." | 967 | `objc-method-call-cont' in the \"objc\" style." |
| 968 | :type 'integer | 968 | :type 'integer |
| 969 | :group 'c) | 969 | :group 'c) |
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el index a79d1a2c064..0556741b65b 100644 --- a/lisp/progmodes/cperl-mode.el +++ b/lisp/progmodes/cperl-mode.el | |||
| @@ -902,7 +902,7 @@ the settings present before the switch. | |||
| 902 | 9) When doing indentation of control constructs, may correct | 902 | 9) When doing indentation of control constructs, may correct |
| 903 | line-breaks/spacing between elements of the construct. | 903 | line-breaks/spacing between elements of the construct. |
| 904 | 904 | ||
| 905 | 10) Uses a linear-time algorith for indentation of regions (on Emaxen with | 905 | 10) Uses a linear-time algorithm for indentation of regions (on Emaxen with |
| 906 | capable syntax engines). | 906 | capable syntax engines). |
| 907 | 907 | ||
| 908 | 11) Syntax-highlight, indentation, sexp-recognition inside regular expressions. | 908 | 11) Syntax-highlight, indentation, sexp-recognition inside regular expressions. |
diff --git a/lisp/progmodes/fortran.el b/lisp/progmodes/fortran.el index cb0b02ff350..009400504b2 100644 --- a/lisp/progmodes/fortran.el +++ b/lisp/progmodes/fortran.el | |||
| @@ -29,7 +29,7 @@ | |||
| 29 | ;; form. For editing Fortran 90 free format source, use `f90-mode' | 29 | ;; form. For editing Fortran 90 free format source, use `f90-mode' |
| 30 | ;; (f90.el). It is meant to support the GNU Fortran language | 30 | ;; (f90.el). It is meant to support the GNU Fortran language |
| 31 | ;; implemented by g77 (its extensions to Fortran77 and | 31 | ;; implemented by g77 (its extensions to Fortran77 and |
| 32 | ;; interpretations, e.g. of blackslash in strings). | 32 | ;; interpretations, e.g. of backslash in strings). |
| 33 | 33 | ||
| 34 | ;;; History: | 34 | ;;; History: |
| 35 | 35 | ||
diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el index c88727c721c..53807b8de30 100644 --- a/lisp/progmodes/gdb-mi.el +++ b/lisp/progmodes/gdb-mi.el | |||
| @@ -2217,7 +2217,7 @@ Return position where LINE begins." | |||
| 2217 | (defun gdb-mapcar* (function &rest seqs) | 2217 | (defun gdb-mapcar* (function &rest seqs) |
| 2218 | "Apply FUNCTION to each element of SEQS, and make a list of the results. | 2218 | "Apply FUNCTION to each element of SEQS, and make a list of the results. |
| 2219 | If there are several SEQS, FUNCTION is called with that many | 2219 | If there are several SEQS, FUNCTION is called with that many |
| 2220 | arugments, and mapping stops as sson as the shortest list runs | 2220 | arguments, and mapping stops as sson as the shortest list runs |
| 2221 | out." | 2221 | out." |
| 2222 | (let ((shortest (apply #'min (mapcar #'length seqs)))) | 2222 | (let ((shortest (apply #'min (mapcar #'length seqs)))) |
| 2223 | (mapcar (lambda (i) | 2223 | (mapcar (lambda (i) |
| @@ -3428,7 +3428,7 @@ breakpoints buffer." | |||
| 3428 | (error "Not recognized as break/watchpoint line"))))) | 3428 | (error "Not recognized as break/watchpoint line"))))) |
| 3429 | 3429 | ||
| 3430 | 3430 | ||
| 3431 | ;; Frames buffer. This displays a perpetually correct bactrack trace. | 3431 | ;; Frames buffer. This displays a perpetually correct backtrack trace. |
| 3432 | ;; | 3432 | ;; |
| 3433 | (def-gdb-trigger-and-handler | 3433 | (def-gdb-trigger-and-handler |
| 3434 | gdb-invalidate-frames (gdb-current-context-command "-stack-list-frames") | 3434 | gdb-invalidate-frames (gdb-current-context-command "-stack-list-frames") |
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index 543539421fe..b54b2dc5f47 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el | |||
| @@ -2102,7 +2102,7 @@ extension EXTN. Normally EXTN is given as the regular expression | |||
| 2102 | massaged-args))) | 2102 | massaged-args))) |
| 2103 | 2103 | ||
| 2104 | ;; Search for an association with P, a fully qualified class name, in | 2104 | ;; Search for an association with P, a fully qualified class name, in |
| 2105 | ;; gud-jdb-class-source-alist. The asssociation gives the fully | 2105 | ;; gud-jdb-class-source-alist. The association gives the fully |
| 2106 | ;; qualified file name of the source file which produced the class. | 2106 | ;; qualified file name of the source file which produced the class. |
| 2107 | (defun gud-jdb-find-source-file (p) | 2107 | (defun gud-jdb-find-source-file (p) |
| 2108 | (cdr (assoc p gud-jdb-class-source-alist))) | 2108 | (cdr (assoc p gud-jdb-class-source-alist))) |
diff --git a/lisp/progmodes/meta-mode.el b/lisp/progmodes/meta-mode.el index e15f765ea58..958c1bfb0cc 100644 --- a/lisp/progmodes/meta-mode.el +++ b/lisp/progmodes/meta-mode.el | |||
| @@ -700,7 +700,7 @@ If the list was changed, sort the list and remove duplicates first." | |||
| 700 | 700 | ||
| 701 | 701 | ||
| 702 | (defun meta-beginning-of-defun (&optional arg) | 702 | (defun meta-beginning-of-defun (&optional arg) |
| 703 | "Move backward to beginnning of a defun in Metafont or MetaPost code. | 703 | "Move backward to beginning of a defun in Metafont or MetaPost code. |
| 704 | With numeric argument, do it that many times. | 704 | With numeric argument, do it that many times. |
| 705 | Negative arg -N means move forward to Nth following beginning of defun. | 705 | Negative arg -N means move forward to Nth following beginning of defun. |
| 706 | Returns t unless search stops due to beginning or end of buffer." | 706 | Returns t unless search stops due to beginning or end of buffer." |
diff --git a/lisp/progmodes/prolog.el b/lisp/progmodes/prolog.el index 00315856ad5..93d27042dc8 100644 --- a/lisp/progmodes/prolog.el +++ b/lisp/progmodes/prolog.el | |||
| @@ -151,7 +151,7 @@ | |||
| 151 | ;; (`prolog-electric-dot-full-predicate-template', defaults to t | 151 | ;; (`prolog-electric-dot-full-predicate-template', defaults to t |
| 152 | ;; since it seems quicker to me to just type those commata). A | 152 | ;; since it seems quicker to me to just type those commata). A |
| 153 | ;; trivial adaptation of a patch by Markus Triska. | 153 | ;; trivial adaptation of a patch by Markus Triska. |
| 154 | ;; o Improved the behaviour of electric if-then-else to only skip | 154 | ;; o Improved the behavior of electric if-then-else to only skip |
| 155 | ;; forward if the parenthesis/semicolon is preceded by | 155 | ;; forward if the parenthesis/semicolon is preceded by |
| 156 | ;; whitespace. Once more a trivial adaptation of a patch by | 156 | ;; whitespace. Once more a trivial adaptation of a patch by |
| 157 | ;; Markus Triska. | 157 | ;; Markus Triska. |
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el index 97a1c4605c2..3166abb21a7 100644 --- a/lisp/progmodes/sql.el +++ b/lisp/progmodes/sql.el | |||
| @@ -672,7 +672,7 @@ highlighted properly when you open them." | |||
| 672 | :safe 'symbolp) | 672 | :safe 'symbolp) |
| 673 | (defvaralias 'sql-dialect 'sql-product) | 673 | (defvaralias 'sql-dialect 'sql-product) |
| 674 | 674 | ||
| 675 | ;; misc customization of sql.el behaviour | 675 | ;; misc customization of sql.el behavior |
| 676 | 676 | ||
| 677 | (defcustom sql-electric-stuff nil | 677 | (defcustom sql-electric-stuff nil |
| 678 | "Treat some input as electric. | 678 | "Treat some input as electric. |
| @@ -3600,12 +3600,12 @@ The list is maintained in SQL interactive buffers.") | |||
| 3600 | (setq has-schema (and | 3600 | (setq has-schema (and |
| 3601 | (>= (length (car names)) schema-len) | 3601 | (>= (length (car names)) schema-len) |
| 3602 | (string= schema-dot | 3602 | (string= schema-dot |
| 3603 | (downcase (substring (car names) | 3603 | (downcase (substring (car names) |
| 3604 | 0 schema-len)))) | 3604 | 0 schema-len)))) |
| 3605 | names (cdr names))) | 3605 | names (cdr names))) |
| 3606 | (unless has-schema | 3606 | (unless has-schema |
| 3607 | (sql-build-completions schema))))) | 3607 | (sql-build-completions schema))))) |
| 3608 | 3608 | ||
| 3609 | ;; Try to find the completion | 3609 | ;; Try to find the completion |
| 3610 | (cond | 3610 | (cond |
| 3611 | ((not predicate) | 3611 | ((not predicate) |
| @@ -3951,7 +3951,7 @@ is specified in the connection settings." | |||
| 3951 | ;; interactive session | 3951 | ;; interactive session |
| 3952 | (eval `(let ((sql-connection ,connection) | 3952 | (eval `(let ((sql-connection ,connection) |
| 3953 | (,param-var ',rem-params)) | 3953 | (,param-var ',rem-params)) |
| 3954 | (sql-product-interactive sql-product | 3954 | (sql-product-interactive sql-product |
| 3955 | new-name))))) | 3955 | new-name))))) |
| 3956 | 3956 | ||
| 3957 | (message "SQL Connection <%s> does not exist" connection) | 3957 | (message "SQL Connection <%s> does not exist" connection) |
| @@ -3981,16 +3981,16 @@ optionally is saved to the user's init file." | |||
| 3981 | 3981 | ||
| 3982 | (if connection | 3982 | (if connection |
| 3983 | (message "This session was started by a connection; it's already been saved.") | 3983 | (message "This session was started by a connection; it's already been saved.") |
| 3984 | 3984 | ||
| 3985 | (let ((login (sql-get-product-feature product :sqli-login)) | 3985 | (let ((login (sql-get-product-feature product :sqli-login)) |
| 3986 | (alist sql-connection-alist) | 3986 | (alist sql-connection-alist) |
| 3987 | connect) | 3987 | connect) |
| 3988 | 3988 | ||
| 3989 | ;; Remove the existing connection if the user says so | 3989 | ;; Remove the existing connection if the user says so |
| 3990 | (when (and (assoc name alist) | 3990 | (when (and (assoc name alist) |
| 3991 | (yes-or-no-p (format "Replace connection definition <%s>? " name))) | 3991 | (yes-or-no-p (format "Replace connection definition <%s>? " name))) |
| 3992 | (setq alist (assq-delete-all name alist))) | 3992 | (setq alist (assq-delete-all name alist))) |
| 3993 | 3993 | ||
| 3994 | ;; Add the new connection if it doesn't exist | 3994 | ;; Add the new connection if it doesn't exist |
| 3995 | (if (assoc name alist) | 3995 | (if (assoc name alist) |
| 3996 | (message "Connection <%s> already exists" name) | 3996 | (message "Connection <%s> already exists" name) |
| @@ -4747,8 +4747,8 @@ Try to set `comint-output-filter-functions' like this: | |||
| 4747 | (sql-redirect sqlbuf "\\t off") | 4747 | (sql-redirect sqlbuf "\\t off") |
| 4748 | (when (not (string= a "aligned")) | 4748 | (when (not (string= a "aligned")) |
| 4749 | (sql-redirect sqlbuf "\\a")) | 4749 | (sql-redirect sqlbuf "\\a")) |
| 4750 | 4750 | ||
| 4751 | ;; Return the list of table names (public schema name can be omitted) | 4751 | ;; Return the list of table names (public schema name can be omitted) |
| 4752 | (mapcar (lambda (tbl) | 4752 | (mapcar (lambda (tbl) |
| 4753 | (if (string= (car tbl) "public") | 4753 | (if (string= (car tbl) "public") |
| 4754 | (cadr tbl) | 4754 | (cadr tbl) |