diff options
author | Richard M. Stallman <rms@gnu.org> | 1992-07-24 05:00:23 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1992-07-24 05:00:23 +0000 |
commit | ae00ef8dc2b54801c9cf2ca060f6fd45f279eb25 (patch) | |
tree | 6e609c6ec473b1dcd13e5389b647aea4e2a41505 /lisp/progmodes/cplus-md.el | |
parent | 9c7fb9ede28efcdd626242bee36d293971f98e59 (diff) | |
download | emacs-ae00ef8dc2b54801c9cf2ca060f6fd45f279eb25.tar.gz |
*** empty log message ***
Diffstat (limited to 'lisp/progmodes/cplus-md.el')
-rw-r--r-- | lisp/progmodes/cplus-md.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/progmodes/cplus-md.el b/lisp/progmodes/cplus-md.el index fa8979a11bd..ace790cb80d 100644 --- a/lisp/progmodes/cplus-md.el +++ b/lisp/progmodes/cplus-md.el @@ -99,7 +99,7 @@ (define-key c++-mode-map "\177" 'backward-delete-char-untabify) (define-key c++-mode-map "\t" 'c++-indent-command) ;; (define-key c++-mode-map "\C-c\C-i" 'c++-insert-header) - (define-key c++-mode-map "\C-c\C-\\" 'c-backslash-region) + (define-key c++-mode-map "\C-c\C-\\" 'c-backslash-region)) ;; (define-key c++-mode-map "\e\C-a" 'c++-beginning-of-defun) ;; (define-key c++-mode-map "\e\C-e" 'c++-end-of-defun) ;; (define-key c++-mode-map "\e\C-x" 'c++-indent-defun)) @@ -582,7 +582,7 @@ Returns nil if line starts inside a string, t if in a comment." (contain-stack (list (point))) (case-fold-search nil) restart outer-loop-done inner-loop-done state ostate - this-indent last-sexp + this-indent last-sexp last-depth at-else at-brace (opoint (point)) (next-depth 0)) @@ -596,8 +596,8 @@ Returns nil if line starts inside a string, t if in a comment." ;; plus enough other lines to get to one that ;; does not end inside a comment or string. ;; Meanwhile, do appropriate indentation on comment lines. - (setq innerloop-done nil) - (while (and (not innerloop-done) + (setq inner-loop-done nil) + (while (and (not inner-loop-done) (not (and (eobp) (setq outer-loop-done t)))) (setq ostate state) (setq state (parse-partial-sexp (point) (progn (end-of-line) (point)) @@ -610,7 +610,7 @@ Returns nil if line starts inside a string, t if in a comment." (c++-indent-line)) (if (or (nth 3 state)) (forward-line 1) - (setq innerloop-done t))) + (setq inner-loop-done t))) (if (<= next-depth 0) (setq outer-loop-done t)) (if outer-loop-done |