summaryrefslogtreecommitdiff
path: root/doc/emacs/programs.texi
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2019-06-15 09:50:32 -0700
committerGlenn Morris <rgm@gnu.org>2019-06-15 09:50:32 -0700
commit689e7c0070827033a0f9ef954eb006778acde0cf (patch)
treee6b21e7f07fa3ab326d1e0bb7ed75e3a04383a8c /doc/emacs/programs.texi
parentca0b4edf1364fd8d894f91c6032634e49b797c26 (diff)
parentf53ce87b07cf845b14774ca24aef1e4285e54f78 (diff)
downloademacs-689e7c0070827033a0f9ef954eb006778acde0cf.tar.gz
emacs-689e7c0070827033a0f9ef954eb006778acde0cf.tar.bz2
emacs-689e7c0070827033a0f9ef954eb006778acde0cf.zip
Merge from origin/emacs-26
f53ce87 ; ChangeLog.3 update eca2677 Fix description of 'display-buffer-in-previous-window' again ... 7be50cd Consistently use @minus{} for negative arguments # Conflicts: # ChangeLog.3
Diffstat (limited to 'doc/emacs/programs.texi')
-rw-r--r--doc/emacs/programs.texi11
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi
index 28bfa5b578f..fe5093147b0 100644
--- a/doc/emacs/programs.texi
+++ b/doc/emacs/programs.texi
@@ -969,7 +969,7 @@ delimiters to enclose the text in the region.
If you supply a prefix argument to @kbd{M-;} when a region is
active, that specifies the number of comment delimiters to add or
delete. A positive argument @var{n} adds @var{n} delimiters, while a
-negative argument @var{-n} removes @var{n} delimiters.
+negative argument @minus{}@var{n} removes @var{n} delimiters.
If the region is not active, and there is no existing comment on the
current line, @kbd{M-;} adds a new comment to the current line. If
@@ -1000,10 +1000,11 @@ lines. When a region is active (@pxref{Mark}), @kbd{C-x C-;} either
comments or uncomments the lines in the region. If the region is not
active, this command comments or uncomments the line point is on.
With a positive prefix argument @var{n}, it operates on @var{n} lines
-starting with the current one; with a negative @var{n}, it affects
-@var{n} preceding lines. After invoking this command with a negative
-argument, successive invocations with a positive argument will operate
-on preceding lines as if the argument were negated.
+starting with the current one; with a negative argument
+@minus{}@var{n}, it affects @var{n} preceding lines. After invoking
+this command with a negative argument, successive invocations with a
+positive argument will operate on preceding lines as if the argument
+were negated.
@findex comment-kill
@kindex C-u M-;