diff options
| author | Paul Eggert | 2016-03-22 11:04:36 -0700 |
|---|---|---|
| committer | Paul Eggert | 2016-03-22 11:04:36 -0700 |
| commit | f95bbe5a67e03fe6d05cbfb4d0c9151a754d6ccd (patch) | |
| tree | 770fbf699587d51ed3a374c6f01bdd655394c66c /doc | |
| parent | 4869e0d85a215e7fb0262430a48aa4d5804bf0a4 (diff) | |
| parent | b8ea08b037fb16395b90481162587706e71b487c (diff) | |
| download | emacs-f95bbe5a67e03fe6d05cbfb4d0c9151a754d6ccd.tar.gz emacs-f95bbe5a67e03fe6d05cbfb4d0c9151a754d6ccd.zip | |
-
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/abbrevs.texi | 9 | ||||
| -rw-r--r-- | doc/lispref/abbrevs.texi | 9 | ||||
| -rw-r--r-- | doc/misc/eshell.texi | 4 |
3 files changed, 14 insertions, 8 deletions
diff --git a/doc/emacs/abbrevs.texi b/doc/emacs/abbrevs.texi index e0441a1984d..a1db34cf0ee 100644 --- a/doc/emacs/abbrevs.texi +++ b/doc/emacs/abbrevs.texi | |||
| @@ -435,9 +435,9 @@ copies the expansion verbatim including its case pattern. | |||
| 435 | controls which characters are considered part of a word, for dynamic expansion | 435 | controls which characters are considered part of a word, for dynamic expansion |
| 436 | purposes. The regular expression must match just one character, never | 436 | purposes. The regular expression must match just one character, never |
| 437 | two or more. The same regular expression also determines which | 437 | two or more. The same regular expression also determines which |
| 438 | characters are part of an expansion. The value @code{nil} has a special | 438 | characters are part of an expansion. The (default) value @code{nil} |
| 439 | meaning: dynamic abbrevs are made of word characters, but expansions are | 439 | has a special meaning: dynamic abbrevs are made of word characters, |
| 440 | made of word and symbol characters. | 440 | but expansions are made of word and symbol characters. |
| 441 | 441 | ||
| 442 | @vindex dabbrev-abbrev-skip-leading-regexp | 442 | @vindex dabbrev-abbrev-skip-leading-regexp |
| 443 | In shell scripts and makefiles, a variable name is sometimes prefixed | 443 | In shell scripts and makefiles, a variable name is sometimes prefixed |
| @@ -445,4 +445,5 @@ with @samp{$} and sometimes not. Major modes for this kind of text can | |||
| 445 | customize dynamic abbrev expansion to handle optional prefixes by setting | 445 | customize dynamic abbrev expansion to handle optional prefixes by setting |
| 446 | the variable @code{dabbrev-abbrev-skip-leading-regexp}. Its value | 446 | the variable @code{dabbrev-abbrev-skip-leading-regexp}. Its value |
| 447 | should be a regular expression that matches the optional prefix that | 447 | should be a regular expression that matches the optional prefix that |
| 448 | dynamic abbrev expression should ignore. | 448 | dynamic abbrev expression should ignore. The default is @code{nil}, |
| 449 | which means no characters should be skipped. | ||
diff --git a/doc/lispref/abbrevs.texi b/doc/lispref/abbrevs.texi index 5f5a395c97a..cdea2a8b3c8 100644 --- a/doc/lispref/abbrevs.texi +++ b/doc/lispref/abbrevs.texi | |||
| @@ -198,7 +198,10 @@ abbrevs in a file automatically, under the control of variables | |||
| 198 | described here. | 198 | described here. |
| 199 | 199 | ||
| 200 | @defopt abbrev-file-name | 200 | @defopt abbrev-file-name |
| 201 | This is the default file name for reading and saving abbrevs. | 201 | This is the default file name for reading and saving abbrevs. By |
| 202 | default, Emacs will look for @file{~/.emacs.d/abbrev_defs}, and, if | ||
| 203 | not found, for @file{~/.abbrev_defs}; if neither file exists, Emacs | ||
| 204 | will create @file{~/.emacs.d/abbrev_defs}. | ||
| 202 | @end defopt | 205 | @end defopt |
| 203 | 206 | ||
| 204 | @defun quietly-read-abbrev-file &optional filename | 207 | @defun quietly-read-abbrev-file &optional filename |
| @@ -216,7 +219,7 @@ A non-@code{nil} value for @code{save-abbrevs} means that Emacs should | |||
| 216 | offer to save abbrevs (if any have changed) when files are saved. If | 219 | offer to save abbrevs (if any have changed) when files are saved. If |
| 217 | the value is @code{silently}, Emacs saves the abbrevs without asking | 220 | the value is @code{silently}, Emacs saves the abbrevs without asking |
| 218 | the user. @code{abbrev-file-name} specifies the file to save the | 221 | the user. @code{abbrev-file-name} specifies the file to save the |
| 219 | abbrevs in. | 222 | abbrevs in. The default value is @code{t}. |
| 220 | @end defopt | 223 | @end defopt |
| 221 | 224 | ||
| 222 | @defvar abbrevs-changed | 225 | @defvar abbrevs-changed |
| @@ -282,7 +285,7 @@ omitted, it defaults to point. @code{name}, if non-@code{nil}, should | |||
| 282 | be the name by which this abbrev was found (a string); it is used to | 285 | be the name by which this abbrev was found (a string); it is used to |
| 283 | figure out whether to adjust the capitalization of the expansion. The | 286 | figure out whether to adjust the capitalization of the expansion. The |
| 284 | function returns @code{abbrev} if the abbrev was successfully | 287 | function returns @code{abbrev} if the abbrev was successfully |
| 285 | inserted. | 288 | inserted, otherwise it returns @code{nil}. |
| 286 | @end defun | 289 | @end defun |
| 287 | 290 | ||
| 288 | @deffn Command abbrev-prefix-mark &optional arg | 291 | @deffn Command abbrev-prefix-mark &optional arg |
diff --git a/doc/misc/eshell.texi b/doc/misc/eshell.texi index f90c7d3e8fb..a7a3840aa5f 100644 --- a/doc/misc/eshell.texi +++ b/doc/misc/eshell.texi | |||
| @@ -252,7 +252,9 @@ need to use a function that takes some other data type, you will need to | |||
| 252 | call it in an Elisp expression (which can also be used with | 252 | call it in an Elisp expression (which can also be used with |
| 253 | @ref{Expansion, expansions}). As with other shells, you can | 253 | @ref{Expansion, expansions}). As with other shells, you can |
| 254 | escape special characters and spaces with the backslash (@code{\}) and | 254 | escape special characters and spaces with the backslash (@code{\}) and |
| 255 | apostrophes (@code{''}) and double quotes (@code{""}). | 255 | apostrophes (@code{''}) and double quotes (@code{""}). This is needed |
| 256 | especially for file names with special characters like pipe | ||
| 257 | (@code{|}), which could be part of remote file names. | ||
| 256 | 258 | ||
| 257 | @node Built-ins | 259 | @node Built-ins |
| 258 | 260 | ||