Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
dc606f02
Commit
dc606f02
authored
Jun 10, 1993
by
Richard M. Stallman
Browse files
(calculate-c++-indent): Respect
c-continued-brace-offset (as in c-mode.el).
parent
7d3221d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
lisp/progmodes/cplus-md.el
lisp/progmodes/cplus-md.el
+5
-1
No files found.
lisp/progmodes/cplus-md.el
View file @
dc606f02
...
...
@@ -515,7 +515,11 @@ Returns nil if line starts inside a string, t if in a comment."
;; previous line of the statement.
(
progn
(
c-backward-to-start-of-continued-exp
containing-sexp
)
(
+
c-continued-statement-offset
(
current-column
)))
(
+
c-continued-statement-offset
(
current-column
)
(
if
(
save-excursion
(
goto-char
indent-point
)
(
skip-chars-forward
" \t"
)
(
eq
(
following-char
)
?{
))
c-continued-brace-offset
0
)))
;; This line starts a new statement.
;; Position following last unclosed open.
(
goto-char
containing-sexp
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment