summaryrefslogtreecommitdiff
path: root/lisp/progmodes/cc-styles.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2008-02-05 14:24:26 +0000
committerJuanma Barranquero <lekktu@gmail.com>2008-02-05 14:24:26 +0000
commitcb5bf6ba22c51521d497d601806e4afd9e948902 (patch)
tree62c283b39b9082b06eed7e346d8e6a52a75dc7b0 /lisp/progmodes/cc-styles.el
parent4f9c00e2dc1e780ba79554fa8620cf875e196d19 (diff)
downloademacs-cb5bf6ba22c51521d497d601806e4afd9e948902.tar.gz
*** empty log message ***
Diffstat (limited to 'lisp/progmodes/cc-styles.el')
-rw-r--r--lisp/progmodes/cc-styles.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/cc-styles.el b/lisp/progmodes/cc-styles.el
index 02240400b1e..72bc86b6cc1 100644
--- a/lisp/progmodes/cc-styles.el
+++ b/lisp/progmodes/cc-styles.el
@@ -423,7 +423,7 @@ STYLE using `c-set-style' if the optional SET-P flag is non-nil."
(defun c-read-offset (langelem)
;; read new offset value for LANGELEM from minibuffer. return a
- ;; legal value only
+ ;; valid value only
(let* ((oldoff (cdr-safe (or (assq langelem c-offsets-alist)
(assq langelem (get 'c-offsets-alist
'c-stylevar-fallback)))))
@@ -555,7 +555,7 @@ variables."
"[ \t\f]*\\\\?$")
(setq c-sentence-end-with-esc-eol
(concat "\\(\\(" (c-default-value-sentence-end) "\\)"
- ;; N.B.: "$" would be illegal when not enclosed like "\\($\\)".
+ ;; N.B.: "$" would be invalid when not enclosed like "\\($\\)".
"\\|" "[.?!][]\"')}]* ?\\\\\\($\\)[ \t\n]*"
"\\)")))