diff options
| author | Paul Eggert | 2011-12-29 18:52:49 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-12-29 18:52:49 -0800 |
| commit | 9858f6c326dfad35733b0dc86231bdd97f2b7703 (patch) | |
| tree | 74e717ced1fa94d505e3ace360f3c9280bd9b2fa /lisp/progmodes | |
| parent | 2cae5ba432fc30042950c073b7ec7807bb98bcde (diff) | |
| download | emacs-9858f6c326dfad35733b0dc86231bdd97f2b7703.tar.gz emacs-9858f6c326dfad35733b0dc86231bdd97f2b7703.zip | |
Spelling fixes.
Diffstat (limited to 'lisp/progmodes')
| -rw-r--r-- | lisp/progmodes/cc-engine.el | 4 | ||||
| -rw-r--r-- | lisp/progmodes/cc-mode.el | 8 | ||||
| -rw-r--r-- | lisp/progmodes/idlwave.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/prolog.el | 4 |
4 files changed, 9 insertions, 9 deletions
diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el index 0865ddfed69..57ee3943bbe 100644 --- a/lisp/progmodes/cc-engine.el +++ b/lisp/progmodes/cc-engine.el | |||
| @@ -2153,14 +2153,14 @@ comment at the start of cc-engine.el for more info." | |||
| 2153 | (if (> pos c-state-nonlit-pos-cache-limit) | 2153 | (if (> pos c-state-nonlit-pos-cache-limit) |
| 2154 | (setq c-state-nonlit-pos-cache-limit pos)) | 2154 | (setq c-state-nonlit-pos-cache-limit pos)) |
| 2155 | pos)))) | 2155 | pos)))) |
| 2156 | 2156 | ||
| 2157 | (defun c-state-literal-at (here) | 2157 | (defun c-state-literal-at (here) |
| 2158 | ;; If position HERE is inside a literal, return (START . END), the | 2158 | ;; If position HERE is inside a literal, return (START . END), the |
| 2159 | ;; boundaries of the literal (which may be outside the accessible bit of the | 2159 | ;; boundaries of the literal (which may be outside the accessible bit of the |
| 2160 | ;; buffer). Otherwise, return nil. | 2160 | ;; buffer). Otherwise, return nil. |
| 2161 | ;; | 2161 | ;; |
| 2162 | ;; This function is almost the same as `c-literal-limits'. Previously, it | 2162 | ;; This function is almost the same as `c-literal-limits'. Previously, it |
| 2163 | ;; differed in that it was a lower level function, and that it rigourously | 2163 | ;; differed in that it was a lower level function, and that it rigorously |
| 2164 | ;; followed the syntax from BOB. `c-literal-limits' is now (2011-12) | 2164 | ;; followed the syntax from BOB. `c-literal-limits' is now (2011-12) |
| 2165 | ;; virtually identical to this function. | 2165 | ;; virtually identical to this function. |
| 2166 | (save-restriction | 2166 | (save-restriction |
diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el index 1bc0741b0aa..bf7d6bfed12 100644 --- a/lisp/progmodes/cc-mode.el +++ b/lisp/progmodes/cc-mode.el | |||
| @@ -1102,7 +1102,7 @@ Note that the style variables are always made local to the buffer." | |||
| 1102 | ;; nested. | 1102 | ;; nested. |
| 1103 | ;; | 1103 | ;; |
| 1104 | ;; This function is called indirectly from font locking stuff - either from | 1104 | ;; This function is called indirectly from font locking stuff - either from |
| 1105 | ;; c-after-change (to prepare for after-change font-lockng) or from font | 1105 | ;; c-after-change (to prepare for after-change font-locking) or from font |
| 1106 | ;; lock context (etc.) fontification. | 1106 | ;; lock context (etc.) fontification. |
| 1107 | (let ((lit-limits (c-literal-limits)) | 1107 | (let ((lit-limits (c-literal-limits)) |
| 1108 | (new-pos pos) | 1108 | (new-pos pos) |
| @@ -1165,7 +1165,7 @@ Note that the style variables are always made local to the buffer." | |||
| 1165 | ;; | 1165 | ;; |
| 1166 | ;; | 1166 | ;; |
| 1167 | ;; void myfunc(T* p) {} | 1167 | ;; void myfunc(T* p) {} |
| 1168 | ;; | 1168 | ;; |
| 1169 | ;; Type a space in the first blank line, and the fontification of the next | 1169 | ;; Type a space in the first blank line, and the fontification of the next |
| 1170 | ;; line was fouled up by context fontification. | 1170 | ;; line was fouled up by context fontification. |
| 1171 | (let ((new-beg beg) (new-end end) new-region) | 1171 | (let ((new-beg beg) (new-end end) new-region) |
| @@ -1180,10 +1180,10 @@ Note that the style variables are always made local to the buffer." | |||
| 1180 | c-before-context-fontification-functions)))) | 1180 | c-before-context-fontification-functions)))) |
| 1181 | (funcall c-standard-font-lock-fontify-region-function | 1181 | (funcall c-standard-font-lock-fontify-region-function |
| 1182 | new-beg new-end verbose))) | 1182 | new-beg new-end verbose))) |
| 1183 | 1183 | ||
| 1184 | (defun c-after-font-lock-init () | 1184 | (defun c-after-font-lock-init () |
| 1185 | ;; Put on `font-lock-mode-hook'. This function ensures our after-change | 1185 | ;; Put on `font-lock-mode-hook'. This function ensures our after-change |
| 1186 | ;; function will get excuted before the font-lock one. Amongst other | 1186 | ;; function will get executed before the font-lock one. Amongst other |
| 1187 | ;; things. | 1187 | ;; things. |
| 1188 | (remove-hook 'after-change-functions 'c-after-change t) | 1188 | (remove-hook 'after-change-functions 'c-after-change t) |
| 1189 | (add-hook 'after-change-functions 'c-after-change nil t) | 1189 | (add-hook 'after-change-functions 'c-after-change nil t) |
diff --git a/lisp/progmodes/idlwave.el b/lisp/progmodes/idlwave.el index 6ce415b563d..9bc4af2a072 100644 --- a/lisp/progmodes/idlwave.el +++ b/lisp/progmodes/idlwave.el | |||
| @@ -7855,7 +7855,7 @@ Restore the pre-completion window configuration if possible." | |||
| 7855 | If point is on a keyword, help for that keyword will be shown. If | 7855 | If point is on a keyword, help for that keyword will be shown. If |
| 7856 | point is on a routine name or in the argument list of a routine, help | 7856 | point is on a routine name or in the argument list of a routine, help |
| 7857 | for that routine will be displayed. Works for system routines and | 7857 | for that routine will be displayed. Works for system routines and |
| 7858 | keywords, it pulls up text help. For other routies and keywords, | 7858 | keywords, it pulls up text help. For other routines and keywords, |
| 7859 | visits the source file, finding help in the header (if | 7859 | visits the source file, finding help in the header (if |
| 7860 | `idlwave-help-source-try-header' is non-nil) or the routine definition | 7860 | `idlwave-help-source-try-header' is non-nil) or the routine definition |
| 7861 | itself." | 7861 | itself." |
diff --git a/lisp/progmodes/prolog.el b/lisp/progmodes/prolog.el index 0efc2ca231b..389746e2850 100644 --- a/lisp/progmodes/prolog.el +++ b/lisp/progmodes/prolog.el | |||
| @@ -3262,7 +3262,7 @@ STRING should be given if the last search was by `string-match' on STRING." | |||
| 3262 | (defun prolog-clause-start (&optional not-allow-methods) | 3262 | (defun prolog-clause-start (&optional not-allow-methods) |
| 3263 | "Return the position at the start of the head of the current clause. | 3263 | "Return the position at the start of the head of the current clause. |
| 3264 | If NOTALLOWMETHODS is non-nil then do not match on methods in | 3264 | If NOTALLOWMETHODS is non-nil then do not match on methods in |
| 3265 | objects (relevent only if 'prolog-system' is set to 'sicstus)." | 3265 | objects (relevant only if 'prolog-system' is set to 'sicstus)." |
| 3266 | (save-excursion | 3266 | (save-excursion |
| 3267 | (let ((notdone t) | 3267 | (let ((notdone t) |
| 3268 | (retval (point-min))) | 3268 | (retval (point-min))) |
| @@ -3328,7 +3328,7 @@ objects (relevent only if 'prolog-system' is set to 'sicstus)." | |||
| 3328 | (defun prolog-clause-end (&optional not-allow-methods) | 3328 | (defun prolog-clause-end (&optional not-allow-methods) |
| 3329 | "Return the position at the end of the current clause. | 3329 | "Return the position at the end of the current clause. |
| 3330 | If NOTALLOWMETHODS is non-nil then do not match on methods in | 3330 | If NOTALLOWMETHODS is non-nil then do not match on methods in |
| 3331 | objects (relevent only if 'prolog-system' is set to 'sicstus)." | 3331 | objects (relevant only if 'prolog-system' is set to 'sicstus)." |
| 3332 | (save-excursion | 3332 | (save-excursion |
| 3333 | (beginning-of-line) ; Necessary since we use "^...." for the search. | 3333 | (beginning-of-line) ; Necessary since we use "^...." for the search. |
| 3334 | (if (re-search-forward | 3334 | (if (re-search-forward |