diff options
| author | Paul Eggert | 2016-05-05 23:11:11 -0700 |
|---|---|---|
| committer | Paul Eggert | 2016-05-05 23:11:11 -0700 |
| commit | 89ce83b20249dfb4e45f09dfdddf4c4b66d82968 (patch) | |
| tree | 3d75245a5514df2ad7b17ae6d56727b9629846a9 /doc/lispintro | |
| parent | d546ed13b04521308ef7ec8e7e5b68e03f1bbb38 (diff) | |
| parent | 50650cb6887d99b01eeb1e686fc1f695c2a0c64a (diff) | |
| download | emacs-89ce83b20249dfb4e45f09dfdddf4c4b66d82968.tar.gz emacs-89ce83b20249dfb4e45f09dfdddf4c4b66d82968.zip | |
Merge from origin/emacs-25
50650cb Doc fixes for fclist and grep
5e814e0 Minor doc fixes for quoting
3347a73 `nreverse' the marker pairs list
1a4127d Use save-excursion in xref-location-marker more
ab3ba91 shell-quote-argument DIR when appropriate
922c7a3 Rework xref-query-replace-in-results
3fe3510 * lisp/replace.el (query-replace-read-from): Use minibuffer-w...
0932b94 Fix todo-mode bug involving archived items (bug#23447)
e68ad1f ; * etc/NEWS: Tiny edit. (Bug#23432)
adc80b7 ; * test/automated/xref-tests.el: Add copyright and license.
4d8fd9c Handle "empty line" regexp in xref searches
f559b37 Add tests for xref-collect-matches
6428aa0 Use grep-find-ignored-directories instead of vc-directory-exc...
6f82d8e Clear buffer-undo-list when showing xrefs
c68a091 Note the quote translation in `message' in section "incompati...
52f86a7 * etc/NEWS: Mention (message "%s" (format ...)).
93703c5 (Common Keywords): Correct what missing :group means
79e5800 Improve documentation of Dired's 'A' and 'Q' commands
2ea2a2f Doc fixes for quoting
8544b98 posnp doc clarification
805204f Mention what a missing :group does
ec554d7 Fix documentation of dired-aux search/replace commands
Diffstat (limited to 'doc/lispintro')
| -rw-r--r-- | doc/lispintro/emacs-lisp-intro.texi | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/doc/lispintro/emacs-lisp-intro.texi b/doc/lispintro/emacs-lisp-intro.texi index 78c1865703e..eea46af6b19 100644 --- a/doc/lispintro/emacs-lisp-intro.texi +++ b/doc/lispintro/emacs-lisp-intro.texi | |||
| @@ -1004,11 +1004,11 @@ the name stands for ``Lots of Isolated Silly Parentheses''. But the | |||
| 1004 | claim is unwarranted. Lisp stands for LISt Processing, and the | 1004 | claim is unwarranted. Lisp stands for LISt Processing, and the |
| 1005 | programming language handles @emph{lists} (and lists of lists) by | 1005 | programming language handles @emph{lists} (and lists of lists) by |
| 1006 | putting them between parentheses. The parentheses mark the boundaries | 1006 | putting them between parentheses. The parentheses mark the boundaries |
| 1007 | of the list. Sometimes a list is preceded by a single apostrophe or | 1007 | of the list. Sometimes a list is preceded by an apostrophe @samp{'}, |
| 1008 | quotation mark, @samp{'}@footnote{The single apostrophe or quotation | 1008 | called a @dfn{single-quote} in Lisp.@footnote{A single-quote is an |
| 1009 | mark is an abbreviation for the function @code{quote}; you need not | 1009 | abbreviation for the special form @code{quote}; you need not think |
| 1010 | think about functions now; functions are defined in @ref{Making | 1010 | about special forms now. @xref{Complications}.} Lists are the basis |
| 1011 | Errors, , Generate an Error Message}.} Lists are the basis of Lisp. | 1011 | of Lisp. |
| 1012 | 1012 | ||
| 1013 | @menu | 1013 | @menu |
| 1014 | * Lisp Lists:: What are lists? | 1014 | * Lisp Lists:: What are lists? |
| @@ -2490,14 +2490,7 @@ in the list and then at the function definition bound to that symbol. | |||
| 2490 | Then the instructions in the function definition are carried out. | 2490 | Then the instructions in the function definition are carried out. |
| 2491 | 2491 | ||
| 2492 | @item | 2492 | @item |
| 2493 | A single quotation mark, | 2493 | A single-quote @samp{'} tells the Lisp interpreter that it should |
| 2494 | @ifinfo | ||
| 2495 | ' | ||
| 2496 | @end ifinfo | ||
| 2497 | @ifnotinfo | ||
| 2498 | @code{'} | ||
| 2499 | @end ifnotinfo | ||
| 2500 | , tells the Lisp interpreter that it should | ||
| 2501 | return the following expression as written, and not evaluate it as it | 2494 | return the following expression as written, and not evaluate it as it |
| 2502 | would if the quote were not there. | 2495 | would if the quote were not there. |
| 2503 | 2496 | ||
| @@ -7610,7 +7603,8 @@ displays in which grave accent and apostrophe were often mirror images | |||
| 7610 | suitable for use as quotes. On most modern displays this is no longer | 7603 | suitable for use as quotes. On most modern displays this is no longer |
| 7611 | true, and when these two ASCII characters appear in documentation | 7604 | true, and when these two ASCII characters appear in documentation |
| 7612 | strings or diagnostic message formats, Emacs typically transliterates | 7605 | strings or diagnostic message formats, Emacs typically transliterates |
| 7613 | them to curved single quotes, so that the abovequoted symbol appears | 7606 | them to @dfn{curved quotes} (left and right single quotation marks), |
| 7607 | so that the abovequoted symbol appears | ||
| 7614 | as @t{‘case-fold-search’}. Source-code strings can also simply use | 7608 | as @t{‘case-fold-search’}. Source-code strings can also simply use |
| 7615 | curved quotes directly. | 7609 | curved quotes directly. |
| 7616 | 7610 | ||
| @@ -17117,7 +17111,7 @@ This line is a short, but complete Emacs Lisp expression. | |||
| 17117 | 17111 | ||
| 17118 | We are already familiar with @code{setq}. It sets the following variable, | 17112 | We are already familiar with @code{setq}. It sets the following variable, |
| 17119 | @code{major-mode}, to the subsequent value, which is @code{text-mode}. | 17113 | @code{major-mode}, to the subsequent value, which is @code{text-mode}. |
| 17120 | The single quote mark before @code{text-mode} tells Emacs to deal directly | 17114 | The single-quote before @code{text-mode} tells Emacs to deal directly |
| 17121 | with the @code{text-mode} symbol, not with whatever it might stand for. | 17115 | with the @code{text-mode} symbol, not with whatever it might stand for. |
| 17122 | @xref{set & setq, , Setting the Value of a Variable}, | 17116 | @xref{set & setq, , Setting the Value of a Variable}, |
| 17123 | for a reminder of how @code{setq} works. | 17117 | for a reminder of how @code{setq} works. |
| @@ -17284,11 +17278,11 @@ Rebinding Keys in Your Init File, emacs, The GNU Emacs Manual}, for | |||
| 17284 | details.) | 17278 | details.) |
| 17285 | 17279 | ||
| 17286 | The command invoked by the keys is @code{compare-windows}. Note that | 17280 | The command invoked by the keys is @code{compare-windows}. Note that |
| 17287 | @code{compare-windows} is preceded by a single quote; otherwise, Emacs | 17281 | @code{compare-windows} is preceded by a single-quote; otherwise, Emacs |
| 17288 | would first try to evaluate the symbol to determine its value. | 17282 | would first try to evaluate the symbol to determine its value. |
| 17289 | 17283 | ||
| 17290 | These three things, the double quotation marks, the backslash before | 17284 | These three things, the double quotation marks, the backslash before |
| 17291 | the @samp{C}, and the single quote mark are necessary parts of | 17285 | the @samp{C}, and the single-quote are necessary parts of |
| 17292 | keybinding that I tend to forget. Fortunately, I have come to | 17286 | keybinding that I tend to forget. Fortunately, I have come to |
| 17293 | remember that I should look at my existing @file{.emacs} file, and | 17287 | remember that I should look at my existing @file{.emacs} file, and |
| 17294 | adapt what is there. | 17288 | adapt what is there. |