Fix doc string quoting

* lisp/files.el (shell-quote-wildcard-pattern):
* lisp/progmodes/vhdl-mode.el (vhdl-mode):
* lisp/subr.el (replace-regexp-in-string):
* lisp/view.el (view-mode):
* src/nsfns.m (syms_of_nsfns):
* src/syntax.c (Fbackward_prefix_chars):
Fix quoting problems in doc strings (Bug#23696).
This commit is contained in:
Stephen Berman 2016-06-06 09:29:17 -07:00 committed by Paul Eggert
parent 0b33a23ffe
commit 9d5ccebeba
6 changed files with 7 additions and 7 deletions

View file

@ -6147,7 +6147,7 @@ and `list-directory-verbose-switches'."
PATTERN is assumed to represent a file-name wildcard suitable for the PATTERN is assumed to represent a file-name wildcard suitable for the
underlying filesystem. For Unix and GNU/Linux, each character from the underlying filesystem. For Unix and GNU/Linux, each character from the
set [ \\t\\n;<>&|()`'\"#$] is quoted with a backslash; for DOS/Windows, all set [ \\t\\n;<>&|()\\=`\\='\"#$] is quoted with a backslash; for DOS/Windows, all
the parts of the pattern which don't include wildcard characters are the parts of the pattern which don't include wildcard characters are
quoted with double quotes. quoted with double quotes.

View file

@ -4684,7 +4684,7 @@ Usage:
SPECIAL MENUES: SPECIAL MENUES:
As an alternative to the speedbar, an index menu can be added (set As an alternative to the speedbar, an index menu can be added (set
option `vhdl-index-menu' to non-nil) or made accessible as a mouse menu option `vhdl-index-menu' to non-nil) or made accessible as a mouse menu
(e.g. add \"(global-set-key '[S-down-mouse-3] 'imenu)\" to your start-up (e.g. add \"(global-set-key [S-down-mouse-3] \\='imenu)\" to your start-up
file) for browsing the file contents (is not populated if buffer is file) for browsing the file contents (is not populated if buffer is
larger than 256000). Also, a source file menu can be larger than 256000). Also, a source file menu can be
added (set option `vhdl-source-file-menu' to non-nil) for browsing the added (set option `vhdl-source-file-menu' to non-nil) for browsing the

View file

@ -3760,9 +3760,9 @@ the match data are the result of matching REGEXP against a substring
of STRING, the same substring that is the actual text of the match which of STRING, the same substring that is the actual text of the match which
is passed to REP as its argument. is passed to REP as its argument.
To replace only the first match (if any), make REGEXP match up to \\' To replace only the first match (if any), make REGEXP match up to \\\\='
and replace a sub-expression, e.g. and replace a sub-expression, e.g.
(replace-regexp-in-string \"\\\\(foo\\\\).*\\\\'\" \"bar\" \" foo foo\" nil nil 1) (replace-regexp-in-string \"\\\\(foo\\\\).*\\\\\\='\" \"bar\" \" foo foo\" nil nil 1)
=> \" bar foo\"" => \" bar foo\""
;; To avoid excessive consing from multiple matches in long strings, ;; To avoid excessive consing from multiple matches in long strings,

View file

@ -429,7 +429,7 @@ x exchanges point and mark.
Mark ring is pushed at start of every successful search and when Mark ring is pushed at start of every successful search and when
jump to line occurs. The mark is set on jump to buffer start or end. jump to line occurs. The mark is set on jump to buffer start or end.
\\[point-to-register] save current position in character register. \\[point-to-register] save current position in character register.
' go to position saved in character register. \\=' go to position saved in character register.
s do forward incremental search. s do forward incremental search.
r do reverse incremental search. r do reverse incremental search.
\\[View-search-regexp-forward] searches forward for regular expression, starting after current page. \\[View-search-regexp-forward] searches forward for regular expression, starting after current page.

View file

@ -3125,7 +3125,7 @@ - (NSString *)panel: (id)sender userEnteredFilename: (NSString *)filename
(setq ns-icon-type-alist (setq ns-icon-type-alist
(append ns-icon-type-alist (append ns-icon-type-alist
'((\"^\\\\*\\\\(Group\\\\*$\\\\|Summary \\\\|Article\\\\*$\\\\)\" \\='((\"^\\\\*\\\\(Group\\\\*$\\\\|Summary \\\\|Article\\\\*$\\\\)\"
. \"Gnus\")))) . \"Gnus\"))))
When you miniaturize a Group, Summary or Article frame, Gnus.tiff will When you miniaturize a Group, Summary or Article frame, Gnus.tiff will

View file

@ -3079,7 +3079,7 @@ but before count is used up, nil is returned. */)
DEFUN ("backward-prefix-chars", Fbackward_prefix_chars, Sbackward_prefix_chars, DEFUN ("backward-prefix-chars", Fbackward_prefix_chars, Sbackward_prefix_chars,
0, 0, 0, 0, 0, 0,
doc: /* Move point backward over any number of chars with prefix syntax. doc: /* Move point backward over any number of chars with prefix syntax.
This includes chars with expression prefix syntax class (') and those with This includes chars with expression prefix syntax class (\\=') and those with
the prefix syntax flag (p). */) the prefix syntax flag (p). */)
(void) (void)
{ {