aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2015-12-29 22:56:53 +0200
committerEli Zaretskii2015-12-29 22:56:53 +0200
commite823c34072bf045800d91e12c7ddb61fa23c6e30 (patch)
treea9e5b30c4184102b93ce3d154500507ee4229c54
parent57bd9a35efafd37a6888e69be28f54d49affcd30 (diff)
downloademacs-e823c34072bf045800d91e12c7ddb61fa23c6e30.tar.gz
emacs-e823c34072bf045800d91e12c7ddb61fa23c6e30.zip
Fix typos in CC Mode manual
* doc/misc/cc-mode.texi (c-offsets-alist, Style Variables): Fix typos. (Bug#22267)
-rw-r--r--doc/misc/cc-mode.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/misc/cc-mode.texi b/doc/misc/cc-mode.texi
index 9b488cb3125..7415da5d5bd 100644
--- a/doc/misc/cc-mode.texi
+++ b/doc/misc/cc-mode.texi
@@ -2461,7 +2461,7 @@ handled a little differently from the other style variables. It's
2461default global binding is the empty list @code{nil}, rather than 2461default global binding is the empty list @code{nil}, rather than
2462@code{set-from-style}. Before the style system is initialized, you 2462@code{set-from-style}. Before the style system is initialized, you
2463can add individual elements to @code{c-offsets-alist} by calling 2463can add individual elements to @code{c-offsets-alist} by calling
2464@code{c-set-offset}(@pxref{c-offsets-alist}) just like you would set 2464@code{c-set-offset} (@pxref{c-offsets-alist}) just like you would set
2465other style variables with @code{setq}. Those elements will then 2465other style variables with @code{setq}. Those elements will then
2466prevail when the style system later initializes a buffer-local copy of 2466prevail when the style system later initializes a buffer-local copy of
2467@code{c-offsets-alist}. 2467@code{c-offsets-alist}.
@@ -5234,13 +5234,13 @@ This command changes the entry for a syntactic symbol in the current
5234binding of @code{c-offsets-alist}, or it inserts a new entry if there 5234binding of @code{c-offsets-alist}, or it inserts a new entry if there
5235isn't already one for that syntactic symbol. 5235isn't already one for that syntactic symbol.
5236 5236
5237You can use @code{c-set-offsets} interactively within a @ccmode{} 5237You can use @code{c-set-offset} interactively within a @ccmode{}
5238buffer to make experimental changes to your indentation settings. 5238buffer to make experimental changes to your indentation settings.
5239@kbd{C-c C-o} prompts you for the syntactic symbol to change 5239@kbd{C-c C-o} prompts you for the syntactic symbol to change
5240(defaulting to that of the current line) and the new offset 5240(defaulting to that of the current line) and the new offset
5241(defaulting to the current offset). 5241(defaulting to the current offset).
5242 5242
5243@code{c-set-offsets} takes two arguments when used programmatically: 5243@code{c-set-offset} takes two arguments when used programmatically:
5244@var{symbol}, the syntactic element symbol to change and @var{offset}, 5244@var{symbol}, the syntactic element symbol to change and @var{offset},
5245the new offset for that syntactic element. You can call the command 5245the new offset for that syntactic element. You can call the command
5246in your @file{.emacs} to change the global binding of 5246in your @file{.emacs} to change the global binding of