diff options
| author | Glenn Morris | 2018-02-17 07:50:28 -0800 |
|---|---|---|
| committer | Glenn Morris | 2018-02-17 07:50:28 -0800 |
| commit | 4fa90ff8f5fda54fc42049c990c52d3e5236fbe6 (patch) | |
| tree | 6c0a7893b3aab0166b35938338fa289c3a01df74 | |
| parent | cb3863370cbe574810f796726faa39ba0de0a429 (diff) | |
| parent | e5a29330aae4491fd384bacaff6f453c6434d322 (diff) | |
| download | emacs-4fa90ff8f5fda54fc42049c990c52d3e5236fbe6.tar.gz emacs-4fa90ff8f5fda54fc42049c990c52d3e5236fbe6.zip | |
Merge from origin/emacs-26
e5a2933 (origin/emacs-26) lisp/vc/: documentation fixes
f21f8e6 Document 'desktop-files-not-to-save'
d8917eb Improve documentation of Profiling features
b228839 Improve indexing of "performance" in ELisp manual
ab67b3e Minor change in Emacs manual's VC chapter
c352434 Avoid memory corruption with specpdl overflow + edebug (Bug#3...
593bbda Document comment-fill-column in the manual (Bug#11636)
bd4cc8d * doc/emacs/dired.texi (Marks vs Flags): Copyedits.
69107f3 ; Fix doc typos related to indefinite articles
aaad1e6 Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emac...
5906418 More fixes for the Emacs manual
9ab3df1 ; Fix doc typos related to indefinite articles
66a4e65 ; Fix doc typos related to indefinite articles
35e5c57 ; Fix doc typos related to indefinite articles
118 files changed, 288 insertions, 240 deletions
diff --git a/admin/grammars/c.by b/admin/grammars/c.by index 4a52bec07f0..3755c323220 100644 --- a/admin/grammars/c.by +++ b/admin/grammars/c.by | |||
| @@ -917,8 +917,8 @@ variablearg-opt-name | |||
| 917 | ( ,$1 ) | 917 | ( ,$1 ) |
| 918 | | semantic-list arg-list | 918 | | semantic-list arg-list |
| 919 | ( (car ( EXPAND $1 function-pointer )) $2) | 919 | ( (car ( EXPAND $1 function-pointer )) $2) |
| 920 | ;; Klaus Berndl: This allows variableargs without a arg-name being | 920 | ;; Klaus Berndl: This allows variableargs without an arg-name being |
| 921 | ;; parsed correct even if there several pointers (*) | 921 | ;; parsed correctly even if there several pointers (*) |
| 922 | | opt-stars | 922 | | opt-stars |
| 923 | ( "" ,$1 nil nil nil ) | 923 | ( "" ,$1 nil nil nil ) |
| 924 | ; | 924 | ; |
diff --git a/admin/notes/unicode b/admin/notes/unicode index 85ba67bc503..ff0de8aeff9 100644 --- a/admin/notes/unicode +++ b/admin/notes/unicode | |||
| @@ -85,7 +85,7 @@ regard to completeness. | |||
| 85 | code (keymap.c and print.c). | 85 | code (keymap.c and print.c). |
| 86 | 86 | ||
| 87 | * Rationalize character syntax and its relationship to the Unicode | 87 | * Rationalize character syntax and its relationship to the Unicode |
| 88 | database. (Applies mainly to symbol an punctuation syntax.) | 88 | database. (Applies mainly to symbol and punctuation syntax.) |
| 89 | 89 | ||
| 90 | * Fontset handling and customization needs work. We want to relate | 90 | * Fontset handling and customization needs work. We want to relate |
| 91 | fonts to scripts, probably based on the Unicode blocks. The | 91 | fonts to scripts, probably based on the Unicode blocks. The |
diff --git a/doc/emacs/dired.texi b/doc/emacs/dired.texi index 3fa35f14746..0a6228564f5 100644 --- a/doc/emacs/dired.texi +++ b/doc/emacs/dired.texi | |||
| @@ -578,9 +578,9 @@ command will look in the buffer without revisiting the file, so the results | |||
| 578 | might be inconsistent with the file on disk if its contents have changed | 578 | might be inconsistent with the file on disk if its contents have changed |
| 579 | since it was last visited. If you don't want this, you may wish to | 579 | since it was last visited. If you don't want this, you may wish to |
| 580 | revert the files you have visited in your buffers, or to turn on | 580 | revert the files you have visited in your buffers, or to turn on |
| 581 | the @code{auto-revert} mode in those buffers, before invoking this | 581 | @code{auto-revert} mode in those buffers, before invoking this |
| 582 | command. @xref{Reverting}. If you prefer that this command always | 582 | command. @xref{Reverting}. If you prefer that this command should always |
| 583 | revisits the file, without having to revert the file or enable | 583 | revisit the file, without you having to revert the file or enable |
| 584 | @code{auto-revert} mode, you might want to set | 584 | @code{auto-revert} mode, you might want to set |
| 585 | @code{dired-always-read-filesystem} to non-@code{nil}. | 585 | @code{dired-always-read-filesystem} to non-@code{nil}. |
| 586 | 586 | ||
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi index 1234db84b2f..541bf9708ba 100644 --- a/doc/emacs/maintaining.texi +++ b/doc/emacs/maintaining.texi | |||
| @@ -60,8 +60,8 @@ changed. | |||
| 60 | The Emacs version control interface is called @dfn{VC}@. VC | 60 | The Emacs version control interface is called @dfn{VC}@. VC |
| 61 | commands work with several different version control systems; | 61 | commands work with several different version control systems; |
| 62 | currently, it supports Bazaar, CVS, Git, Mercurial, Monotone, RCS, | 62 | currently, it supports Bazaar, CVS, Git, Mercurial, Monotone, RCS, |
| 63 | SCCS/CSSC, and Subversion. Of these, the GNU project distributes CVS, | 63 | SRC, SCCS/CSSC, and Subversion. Of these, the GNU project distributes |
| 64 | RCS, and Bazaar. | 64 | CVS, RCS, and Bazaar. |
| 65 | 65 | ||
| 66 | VC is enabled automatically whenever you visit a file governed by a | 66 | VC is enabled automatically whenever you visit a file governed by a |
| 67 | version control system. To disable VC entirely, set the customizable | 67 | version control system. To disable VC entirely, set the customizable |
| @@ -80,9 +80,7 @@ current buffer, use the command @code{vc-refresh-state}. This command | |||
| 80 | is useful when you perform version control commands outside Emacs | 80 | is useful when you perform version control commands outside Emacs |
| 81 | (e.g., from the shell prompt), or if you put the buffer's file under a | 81 | (e.g., from the shell prompt), or if you put the buffer's file under a |
| 82 | different version control system, or remove it from version control | 82 | different version control system, or remove it from version control |
| 83 | entirely. A companion command @code{vc-state-refresh} does the same, | 83 | entirely. |
| 84 | but does not consider switching the version control system or removal | ||
| 85 | from VC. | ||
| 86 | 84 | ||
| 87 | @menu | 85 | @menu |
| 88 | * Introduction to VC:: How version control works in general. | 86 | * Introduction to VC:: How version control works in general. |
| @@ -185,12 +183,12 @@ everything you can do with RCS can be done through VC. | |||
| 185 | 183 | ||
| 186 | @cindex CVS | 184 | @cindex CVS |
| 187 | @item | 185 | @item |
| 188 | CVS is the free version control system that was, until recently (circa | 186 | CVS is the free version control system that was, until circa 2008, |
| 189 | 2008), used by the majority of free software projects. Nowadays, it | 187 | used by the majority of free software projects. Since then, it has |
| 190 | is slowly being superseded by newer systems. CVS allows concurrent | 188 | been superseded by newer systems. CVS allows concurrent multi-user |
| 191 | multi-user development either locally or over the network. Unlike | 189 | development either locally or over the network. Unlike newer systems, |
| 192 | newer systems, it lacks support for atomic commits and file | 190 | it lacks support for atomic commits and file moving/renaming. VC |
| 193 | moving/renaming. VC supports all basic editing operations under CVS. | 191 | supports all basic editing operations under CVS. |
| 194 | 192 | ||
| 195 | @cindex SVN | 193 | @cindex SVN |
| 196 | @cindex Subversion | 194 | @cindex Subversion |
| @@ -322,13 +320,14 @@ possible. | |||
| 322 | @subsubsection Changeset-based vs File-based Version Control | 320 | @subsubsection Changeset-based vs File-based Version Control |
| 323 | 321 | ||
| 324 | @cindex file-based version control | 322 | @cindex file-based version control |
| 325 | On SCCS, RCS, CVS, and other early version control systems, version | 323 | On SCCS, RCS, CVS, and other early version control systems (and also |
| 326 | control operations are @dfn{file-based}: each file has its own comment | 324 | in SRC), version control operations are @dfn{file-based}: each file |
| 327 | and revision history separate from that of all other files. Newer | 325 | has its own comment and revision history separate from that of all |
| 328 | systems, beginning with Subversion, are @dfn{changeset-based}: a | 326 | other files. Newer systems, beginning with Subversion, are |
| 329 | commit may include changes to several files, and the entire set of | 327 | @dfn{changeset-based}: a commit may include changes to several files, |
| 330 | changes is handled as a unit. Any comment associated with the change | 328 | and the entire set of changes is handled as a unit. Any comment |
| 331 | does not belong to a single file, but to the changeset itself. | 329 | associated with the change does not belong to a single file, but to |
| 330 | the changeset itself. | ||
| 332 | 331 | ||
| 333 | @cindex changeset-based version control | 332 | @cindex changeset-based version control |
| 334 | Changeset-based version control is more flexible and powerful than | 333 | Changeset-based version control is more flexible and powerful than |
| @@ -344,7 +343,7 @@ all of it. | |||
| 344 | @cindex distributed version control | 343 | @cindex distributed version control |
| 345 | Early version control systems were designed around a | 344 | Early version control systems were designed around a |
| 346 | @dfn{centralized} model in which each project has only one repository | 345 | @dfn{centralized} model in which each project has only one repository |
| 347 | used by all developers. SCCS, RCS, CVS, and Subversion share this | 346 | used by all developers. SCCS, RCS, CVS, Subversion, and SRC share this |
| 348 | kind of model. One of its drawbacks is that the repository is a choke | 347 | kind of model. One of its drawbacks is that the repository is a choke |
| 349 | point for reliability and efficiency. | 348 | point for reliability and efficiency. |
| 350 | 349 | ||
| @@ -526,7 +525,7 @@ desired log entry for the new revision, followed by @kbd{C-c C-c} to | |||
| 526 | commit. @xref{Log Buffer}. | 525 | commit. @xref{Log Buffer}. |
| 527 | 526 | ||
| 528 | If committing to a shared repository, the commit may fail if the | 527 | If committing to a shared repository, the commit may fail if the |
| 529 | repository that has been changed since your last update. In that | 528 | repository has been changed since your last update. In that |
| 530 | case, you must perform an update before trying again. On a | 529 | case, you must perform an update before trying again. On a |
| 531 | decentralized version control system, use @kbd{C-x v +} | 530 | decentralized version control system, use @kbd{C-x v +} |
| 532 | (@pxref{Pulling / Pushing}) or @kbd{C-x v m} (@pxref{Merging}). | 531 | (@pxref{Pulling / Pushing}) or @kbd{C-x v m} (@pxref{Merging}). |
| @@ -609,7 +608,7 @@ if the fileset can be managed by more than one version control system, | |||
| 609 | and Emacs fails to detect the correct one. | 608 | and Emacs fails to detect the correct one. |
| 610 | 609 | ||
| 611 | @item | 610 | @item |
| 612 | Otherwise, if using CVS or RCS, you can specify a revision ID. | 611 | Otherwise, if using CVS, RCS or SRC, you can specify a revision ID. |
| 613 | 612 | ||
| 614 | If the fileset is modified (or locked), this makes Emacs commit with | 613 | If the fileset is modified (or locked), this makes Emacs commit with |
| 615 | that revision ID@. You can create a new branch by supplying an | 614 | that revision ID@. You can create a new branch by supplying an |
| @@ -660,11 +659,10 @@ Author: J. R. Hacker <jrh@@example.com> | |||
| 660 | 659 | ||
| 661 | @noindent | 660 | @noindent |
| 662 | Apart from the @samp{Author} header, Emacs recognizes the headers | 661 | Apart from the @samp{Author} header, Emacs recognizes the headers |
| 663 | @samp{Date} (a manually-specified commit time) and @samp{Fixes} (a | 662 | @samp{Summary} (a one-line summary of the changeset), @samp{Date} (a |
| 664 | reference to a bug fixed by the change). Not all version control | 663 | manually-specified commit time), and @samp{Fixes} (a reference to a |
| 665 | systems recognize all headers: Bazaar recognizes all three headers, | 664 | bug fixed by the change). Not all version control systems recognize |
| 666 | while Git, Mercurial, and Monotone recognize only @samp{Author} and | 665 | all headers. If you specify a header for a system that does not |
| 667 | @samp{Date}. If you specify a header for a system that does not | ||
| 668 | support it, the header is treated as part of the log entry. | 666 | support it, the header is treated as part of the log entry. |
| 669 | 667 | ||
| 670 | @kindex C-c C-f @r{(Log Edit mode)} | 668 | @kindex C-c C-f @r{(Log Edit mode)} |
| @@ -969,9 +967,9 @@ file listed on the current line. | |||
| 969 | @findex log-view-toggle-entry-display | 967 | @findex log-view-toggle-entry-display |
| 970 | @kbd{C-x v L} (@code{vc-print-root-log}) displays a | 968 | @kbd{C-x v L} (@code{vc-print-root-log}) displays a |
| 971 | @file{*vc-change-log*} buffer showing the history of the entire | 969 | @file{*vc-change-log*} buffer showing the history of the entire |
| 972 | version-controlled directory tree (RCS, SCCS, and CVS do not support | 970 | version-controlled directory tree (RCS, SCCS, CVS, and SRC do not |
| 973 | this feature). With a prefix argument, the command prompts for the | 971 | support this feature). With a prefix argument, the command prompts |
| 974 | maximum number of revisions to display. | 972 | for the maximum number of revisions to display. |
| 975 | 973 | ||
| 976 | The @kbd{C-x v L} history is shown in a compact form, usually | 974 | The @kbd{C-x v L} history is shown in a compact form, usually |
| 977 | showing only the first line of each log entry. However, you can type | 975 | showing only the first line of each log entry. However, you can type |
| @@ -1048,7 +1046,7 @@ if you set the value to zero, that removes the limit. You can also | |||
| 1048 | increase the number of revisions shown in an existing | 1046 | increase the number of revisions shown in an existing |
| 1049 | @file{*vc-change-log*} buffer by clicking on the @samp{Show 2X | 1047 | @file{*vc-change-log*} buffer by clicking on the @samp{Show 2X |
| 1050 | entries} or @samp{Show unlimited entries} buttons at the end of the | 1048 | entries} or @samp{Show unlimited entries} buttons at the end of the |
| 1051 | buffer. However, RCS, SCCS, and CVS do not support this feature. | 1049 | buffer. However, RCS, SCCS, CVS, and SRC do not support this feature. |
| 1052 | 1050 | ||
| 1053 | @kindex C-x v h | 1051 | @kindex C-x v h |
| 1054 | @findex vc-region-history | 1052 | @findex vc-region-history |
| @@ -1189,7 +1187,7 @@ but is not yet committed, while @file{temp.txt} is not under version | |||
| 1189 | control (@pxref{Registering}). | 1187 | control (@pxref{Registering}). |
| 1190 | 1188 | ||
| 1191 | The @samp{*} characters next to the entries for @file{README} and | 1189 | The @samp{*} characters next to the entries for @file{README} and |
| 1192 | @file{src/main.c} indicate that the user has marked out these files as | 1190 | @file{src/main.c} indicate that the user has marked these files as |
| 1193 | the current VC fileset | 1191 | the current VC fileset |
| 1194 | @iftex | 1192 | @iftex |
| 1195 | (see below). | 1193 | (see below). |
| @@ -1280,7 +1278,7 @@ point is on a directory entry, unmark all files in that directory tree | |||
| 1280 | files and directories. | 1278 | files and directories. |
| 1281 | 1279 | ||
| 1282 | @item x | 1280 | @item x |
| 1283 | Hide files with @samp{up-to-date} status | 1281 | Hide files with @samp{up-to-date} or @samp{ignored} status |
| 1284 | (@code{vc-dir-hide-up-to-date}). With a prefix argument, hide items | 1282 | (@code{vc-dir-hide-up-to-date}). With a prefix argument, hide items |
| 1285 | whose state is that of the item at point. | 1283 | whose state is that of the item at point. |
| 1286 | @end table | 1284 | @end table |
| @@ -1352,7 +1350,7 @@ Switch to a branch (@code{vc-retrieve-tag}). @xref{Switching Branches}. | |||
| 1352 | context menu invoked by @kbd{mouse-2}. Furthermore, some VC backends | 1350 | context menu invoked by @kbd{mouse-2}. Furthermore, some VC backends |
| 1353 | use the menu to provide extra backend-specific commands. For example, | 1351 | use the menu to provide extra backend-specific commands. For example, |
| 1354 | Git and Bazaar allow you to manipulate @dfn{stashes} and @dfn{shelves} | 1352 | Git and Bazaar allow you to manipulate @dfn{stashes} and @dfn{shelves} |
| 1355 | (where are a way to temporarily put aside uncommitted changes, and | 1353 | (which are a way to temporarily put aside uncommitted changes, and |
| 1356 | bring them back at a later time). | 1354 | bring them back at a later time). |
| 1357 | 1355 | ||
| 1358 | @node Branches | 1356 | @node Branches |
| @@ -1517,7 +1515,7 @@ is shown in a separate buffer. | |||
| 1517 | prompts for a branch ID, or a pair of revision IDs (@pxref{Switching | 1515 | prompts for a branch ID, or a pair of revision IDs (@pxref{Switching |
| 1518 | Branches}); then it finds the changes from that branch, or the changes | 1516 | Branches}); then it finds the changes from that branch, or the changes |
| 1519 | between the two revisions you specified, and merges those changes into | 1517 | between the two revisions you specified, and merges those changes into |
| 1520 | the current VC fileset. If you just type @key{RET}, Emacs simply | 1518 | the current VC fileset. If you just type @kbd{@key{RET}}, Emacs simply |
| 1521 | merges any changes that were made on the same branch since you checked | 1519 | merges any changes that were made on the same branch since you checked |
| 1522 | the file out. | 1520 | the file out. |
| 1523 | 1521 | ||
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index ae6f9446f28..cfc689e4641 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi | |||
| @@ -2434,6 +2434,11 @@ To disable this, set @code{desktop-restore-frames} to @code{nil}. | |||
| 2434 | (See that variable's documentation for some related options | 2434 | (See that variable's documentation for some related options |
| 2435 | that you can customize to fine-tune this behavior.) | 2435 | that you can customize to fine-tune this behavior.) |
| 2436 | 2436 | ||
| 2437 | @vindex desktop-files-not-to-save | ||
| 2438 | Information about buffers visiting remote files is not saved by | ||
| 2439 | default. Customize the variable @code{desktop-files-not-to-save} to | ||
| 2440 | change this. | ||
| 2441 | |||
| 2437 | @vindex frameset-filter-alist | 2442 | @vindex frameset-filter-alist |
| 2438 | When the desktop restores the frame and window configuration, it | 2443 | When the desktop restores the frame and window configuration, it |
| 2439 | uses the recorded values of frame parameters, disregarding any | 2444 | uses the recorded values of frame parameters, disregarding any |
diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi index 215717864fe..4a59f4307ed 100644 --- a/doc/emacs/programs.texi +++ b/doc/emacs/programs.texi | |||
| @@ -965,13 +965,13 @@ the line is blank (i.e., empty or containing only whitespace | |||
| 965 | characters), the comment is indented to the same position where | 965 | characters), the comment is indented to the same position where |
| 966 | @kbd{@key{TAB}} would indent to (@pxref{Basic Indent}). If the line | 966 | @kbd{@key{TAB}} would indent to (@pxref{Basic Indent}). If the line |
| 967 | is non-blank, the comment is placed after the last non-whitespace | 967 | is non-blank, the comment is placed after the last non-whitespace |
| 968 | character on the line; normally, Emacs tries putting it at the column | 968 | character on the line. Emacs tries to fit the comment between the |
| 969 | specified by the variable @code{comment-column} (@pxref{Options for | 969 | columns specified by the variables @code{comment-column} and |
| 970 | Comments}), but if the line already extends past that column, it puts | 970 | @code{comment-fill-column} (@pxref{Options for Comments}), if |
| 971 | the comment at some suitable position, usually separated from the | 971 | possible. Otherwise, it will choose some other suitable position, |
| 972 | non-comment text by at least one space. In each case, Emacs places | 972 | usually separated from the non-comment text by at least one space. In |
| 973 | point after the comment's starting delimiter, so that you can start | 973 | each case, Emacs places point after the comment's starting delimiter, |
| 974 | typing the comment text right away. | 974 | so that you can start typing the comment text right away. |
| 975 | 975 | ||
| 976 | You can also use @kbd{M-;} to align an existing comment. If a line | 976 | You can also use @kbd{M-;} to align an existing comment. If a line |
| 977 | already contains the comment-start string, @kbd{M-;} realigns it to | 977 | already contains the comment-start string, @kbd{M-;} realigns it to |
| @@ -1064,13 +1064,16 @@ comment. Enable the @code{comment-close-slash} clean-up for this. | |||
| 1064 | @subsection Options Controlling Comments | 1064 | @subsection Options Controlling Comments |
| 1065 | 1065 | ||
| 1066 | @vindex comment-column | 1066 | @vindex comment-column |
| 1067 | @vindex comment-fill-column | ||
| 1067 | @kindex C-x ; | 1068 | @kindex C-x ; |
| 1068 | @findex comment-set-column | 1069 | @findex comment-set-column |
| 1069 | As mentioned in @ref{Comment Commands}, when the @kbd{M-j} command | 1070 | As mentioned in @ref{Comment Commands}, when the @kbd{M-j} command |
| 1070 | adds a comment to a line, it tries to place the comment at the column | 1071 | adds a comment to a line, it tries to place the comment between the |
| 1071 | specified by the buffer-local variable @code{comment-column}. You can | 1072 | columns specified by the buffer-local variables @code{comment-column} |
| 1072 | set either the local value or the default value of this buffer-local | 1073 | and @code{comment-fill-column} (or if that is @code{nil}, then the |
| 1073 | variable in the usual way (@pxref{Locals}). Alternatively, you can | 1074 | value of @code{fill-column}, @pxref{Fill Commands}). You can set |
| 1075 | either the local value or the default value of these buffer-local | ||
| 1076 | variables in the usual way (@pxref{Locals}). Alternatively, you can | ||
| 1074 | type @kbd{C-x ;} (@code{comment-set-column}) to set the value of | 1077 | type @kbd{C-x ;} (@code{comment-set-column}) to set the value of |
| 1075 | @code{comment-column} in the current buffer to the column where point | 1078 | @code{comment-column} in the current buffer to the column where point |
| 1076 | is currently located. @kbd{C-u C-x ;} sets the comment column to | 1079 | is currently located. @kbd{C-u C-x ;} sets the comment column to |
diff --git a/doc/emacs/rmail.texi b/doc/emacs/rmail.texi index 09cb034e372..e9371f39a96 100644 --- a/doc/emacs/rmail.texi +++ b/doc/emacs/rmail.texi | |||
| @@ -1585,7 +1585,7 @@ use it, add the @samp{--tls} flag to @code{rmail-movemail-flags}. | |||
| 1585 | If your incoming mail is stored on a local machine in a format other | 1585 | If your incoming mail is stored on a local machine in a format other |
| 1586 | than Unix mailbox, you will need the Mailutils @command{movemail} to | 1586 | than Unix mailbox, you will need the Mailutils @command{movemail} to |
| 1587 | retrieve it. @xref{Movemail}, for the detailed description of | 1587 | retrieve it. @xref{Movemail}, for the detailed description of |
| 1588 | @command{movemail} versions. For example, to access mail from a inbox in | 1588 | @command{movemail} versions. For example, to access mail from an inbox in |
| 1589 | @code{maildir} format located in @file{/var/spool/mail/in}, you would | 1589 | @code{maildir} format located in @file{/var/spool/mail/in}, you would |
| 1590 | include the following in the Rmail inbox list: | 1590 | include the following in the Rmail inbox list: |
| 1591 | 1591 | ||
diff --git a/doc/emacs/vc1-xtra.texi b/doc/emacs/vc1-xtra.texi index 7a4b8e47019..35dd6d1235a 100644 --- a/doc/emacs/vc1-xtra.texi +++ b/doc/emacs/vc1-xtra.texi | |||
| @@ -113,8 +113,9 @@ Prompt for a file name, delete the file from the working tree, and | |||
| 113 | schedule the deletion for committing. | 113 | schedule the deletion for committing. |
| 114 | 114 | ||
| 115 | @item M-x vc-rename-file | 115 | @item M-x vc-rename-file |
| 116 | Prompt for two file names, @var{var} and @var{old}, rename them in the | 116 | Prompt for two file names, @var{old} and @var{new}, rename them in the |
| 117 | working tree, and schedule the renaming for committing. | 117 | working tree, and schedule the renaming for committing. The @var{old} |
| 118 | file defaults to the current buffer's file name if it is under VC. | ||
| 118 | @end table | 119 | @end table |
| 119 | 120 | ||
| 120 | @findex vc-delete-file | 121 | @findex vc-delete-file |
| @@ -268,7 +269,7 @@ with the file's version control type. | |||
| 268 | @vindex vc-handled-backends | 269 | @vindex vc-handled-backends |
| 269 | The variable @code{vc-handled-backends} determines which version | 270 | The variable @code{vc-handled-backends} determines which version |
| 270 | control systems VC should handle. The default value is @code{(RCS CVS | 271 | control systems VC should handle. The default value is @code{(RCS CVS |
| 271 | SVN SCCS Bzr Git Hg Mtn Arch)}, so it contains all the version systems | 272 | SVN SCCS SRC Bzr Git Hg Mtn)}, so it contains all the version systems |
| 272 | that are currently supported. If you want VC to ignore one or more of | 273 | that are currently supported. If you want VC to ignore one or more of |
| 273 | these systems, exclude its name from the list. To disable VC | 274 | these systems, exclude its name from the list. To disable VC |
| 274 | entirely, set this variable to @code{nil}. | 275 | entirely, set this variable to @code{nil}. |
diff --git a/doc/lispintro/emacs-lisp-intro.texi b/doc/lispintro/emacs-lisp-intro.texi index 8b24cc1d8ba..137ccfe4a98 100644 --- a/doc/lispintro/emacs-lisp-intro.texi +++ b/doc/lispintro/emacs-lisp-intro.texi | |||
| @@ -11799,7 +11799,7 @@ Uses recursion." | |||
| 11799 | @end group | 11799 | @end group |
| 11800 | @end smallexample | 11800 | @end smallexample |
| 11801 | 11801 | ||
| 11802 | What happens when we call this function with a argument of 7? | 11802 | What happens when we call this function with an argument of 7? |
| 11803 | 11803 | ||
| 11804 | The first instance of the @code{triangle-recursively} function adds | 11804 | The first instance of the @code{triangle-recursively} function adds |
| 11805 | the number 7 to the value returned by a second instance of | 11805 | the number 7 to the value returned by a second instance of |
| @@ -20821,7 +20821,7 @@ The function @code{1+} which adds one to its argument, is executed on | |||
| 20821 | 20821 | ||
| 20822 | Contrast this with @code{apply}, which applies its first argument to | 20822 | Contrast this with @code{apply}, which applies its first argument to |
| 20823 | all the remaining. | 20823 | all the remaining. |
| 20824 | (@xref{Readying a Graph, , Readying a Graph}, for a explanation of | 20824 | (@xref{Readying a Graph, , Readying a Graph}, for an explanation of |
| 20825 | @code{apply}.) | 20825 | @code{apply}.) |
| 20826 | 20826 | ||
| 20827 | @need 1250 | 20827 | @need 1250 |
diff --git a/doc/lispref/buffers.texi b/doc/lispref/buffers.texi index 7e41eb32cce..3750fa60534 100644 --- a/doc/lispref/buffers.texi +++ b/doc/lispref/buffers.texi | |||
| @@ -667,7 +667,7 @@ reason. | |||
| 667 | 667 | ||
| 668 | @defun ask-user-about-supersession-threat filename | 668 | @defun ask-user-about-supersession-threat filename |
| 669 | This function is used to ask a user how to proceed after an attempt to | 669 | This function is used to ask a user how to proceed after an attempt to |
| 670 | modify an buffer visiting file @var{filename} when the file is newer | 670 | modify a buffer visiting file @var{filename} when the file is newer |
| 671 | than the buffer text. Emacs detects this because the modification | 671 | than the buffer text. Emacs detects this because the modification |
| 672 | time of the file on disk is newer than the last save-time and its contents | 672 | time of the file on disk is newer than the last save-time and its contents |
| 673 | have changed. | 673 | have changed. |
diff --git a/doc/lispref/debugging.texi b/doc/lispref/debugging.texi index 09692073bf9..2daa8a5578f 100644 --- a/doc/lispref/debugging.texi +++ b/doc/lispref/debugging.texi | |||
| @@ -918,51 +918,65 @@ be cleaner to combine them. | |||
| 918 | @section Profiling | 918 | @section Profiling |
| 919 | @cindex profiling | 919 | @cindex profiling |
| 920 | @cindex profile | 920 | @cindex profile |
| 921 | @cindex performance analysis | ||
| 921 | @cindex measuring resource usage | 922 | @cindex measuring resource usage |
| 922 | @cindex memory usage | 923 | @cindex memory usage |
| 923 | 924 | ||
| 924 | If your program is working correctly, but you want to make it run more | 925 | If your program is working correctly, but not fast enough, and you |
| 925 | quickly or efficiently, the first thing to do is @dfn{profile} your | 926 | want to make it run more quickly or efficiently, the first thing to do |
| 926 | code so that you know how it is using resources. If you find that one | 927 | is @dfn{profile} your code so that you know where it spends most of |
| 927 | particular function is responsible for a significant portion of the | 928 | the execution time. If you find that one particular function is |
| 928 | runtime, you can start looking for ways to optimize that piece. | 929 | responsible for a significant portion of the execution time, you can |
| 930 | start looking for ways to optimize that piece. | ||
| 929 | 931 | ||
| 930 | Emacs has built-in support for this. To begin profiling, type | 932 | Emacs has built-in support for this. To begin profiling, type |
| 931 | @kbd{M-x profiler-start}. You can choose to profile by processor | 933 | @kbd{M-x profiler-start}. You can choose to profile by processor |
| 932 | usage, memory usage, or both. After doing some work, type | 934 | usage, memory usage, or both. Then run the code you'd like to speed |
| 933 | @kbd{M-x profiler-report} to display a summary buffer for each | 935 | up. After that, type @kbd{M-x profiler-report} to display a summary |
| 934 | resource that you chose to profile. The names of the report buffers | 936 | buffer for each resource (cpu and memory) that you chose to profile. |
| 935 | include the times at which the reports were generated, so you can | 937 | The names of the report buffers include the times at which the reports |
| 936 | generate another report later on without erasing previous results. | 938 | were generated, so you can generate another report later on without |
| 937 | When you have finished profiling, type @kbd{M-x profiler-stop} (there | 939 | erasing previous results. When you have finished profiling, type |
| 938 | is a small overhead associated with profiling). | 940 | @kbd{M-x profiler-stop} (there is a small overhead associated with |
| 941 | profiling, so we don't recommend leaving it active except when you are | ||
| 942 | actually running the code you want to examine). | ||
| 939 | 943 | ||
| 940 | The profiler report buffer shows, on each line, a function that was | 944 | The profiler report buffer shows, on each line, a function that was |
| 941 | called, followed by how much resource (processor or memory) it used in | 945 | called, followed by how much resources (cpu or memory) it used in |
| 942 | absolute and percentage times since profiling started. If a given | 946 | absolute and percentage terms since profiling started. If a given |
| 943 | line has a @samp{+} symbol at the left-hand side, you can expand that | 947 | line has a @samp{+} symbol at the left-hand side, you can expand that |
| 944 | line by typing @kbd{@key{RET}}, in order to see the function(s) called | 948 | line by typing @kbd{@key{RET}}, in order to see the function(s) called |
| 945 | by the higher-level function. Use a prefix argument (@kbd{C-u | 949 | by the higher-level function. Use a prefix argument (@kbd{C-u |
| 946 | @key{RET}}) to see the whole call tree below a function. Pressing | 950 | @key{RET}}) to see the whole call tree below a function. Pressing |
| 947 | @kbd{@key{RET}} again will collapse back to the original state. | 951 | @kbd{@key{RET}} again will collapse back to the original state. |
| 948 | 952 | ||
| 949 | Press @kbd{j} or @kbd{mouse-2} to jump to the definition of a function. | 953 | Press @kbd{j} or @kbd{mouse-2} to jump to the definition of a function |
| 950 | Press @kbd{d} to view a function's documentation. | 954 | at point. Press @kbd{d} to view a function's documentation. You can |
| 951 | You can save a profile to a file using @kbd{C-x C-w}. | 955 | save a profile to a file using @kbd{C-x C-w}. You can compare two |
| 952 | You can compare two profiles using @kbd{=}. | 956 | profiles using @kbd{=}. |
| 953 | 957 | ||
| 954 | @c FIXME reversed calltree? | 958 | @c FIXME reversed calltree? |
| 955 | 959 | ||
| 956 | @cindex @file{elp.el} | 960 | @cindex @file{elp.el} |
| 957 | @cindex timing programs | 961 | @cindex timing programs |
| 958 | The @file{elp} library offers an alternative approach. See the file | 962 | The @file{elp} library offers an alternative approach, which is useful |
| 959 | @file{elp.el} for instructions. | 963 | when you know in advance which Lisp function(s) you want to profile. |
| 964 | Using that library, you begin by setting @code{elp-function-list} to | ||
| 965 | the list of function symbols---those are the functions you want to | ||
| 966 | profile. Then type @w{@kbd{M-x elp-instrument-list @key{RET} nil | ||
| 967 | @key{RET}}} to arrange for profiling those functions. After running | ||
| 968 | the code you want to profile, invoke @w{@kbd{M-x elp-results}} to | ||
| 969 | display the current results. See the file @file{elp.el} for more | ||
| 970 | detailed instructions. This approach is limited to profiling | ||
| 971 | functions written in Lisp, it cannot profile Emacs primitives. | ||
| 960 | 972 | ||
| 961 | @cindex @file{benchmark.el} | 973 | @cindex @file{benchmark.el} |
| 962 | @cindex benchmarking | 974 | @cindex benchmarking |
| 963 | You can check the speed of individual Emacs Lisp forms using the | 975 | You can measure the time it takes to evaluate individual Emacs Lisp |
| 964 | @file{benchmark} library. See the functions @code{benchmark-run} and | 976 | forms using the @file{benchmark} library. See the macros |
| 965 | @code{benchmark-run-compiled} in @file{benchmark.el}. | 977 | @code{benchmark-run} and @code{benchmark-run-compiled} in |
| 978 | @file{benchmark.el}. You can also use the @code{benchmark} command | ||
| 979 | for timing forms interactively. | ||
| 966 | 980 | ||
| 967 | @c Not worth putting in the printed manual. | 981 | @c Not worth putting in the printed manual. |
| 968 | @ifnottex | 982 | @ifnottex |
diff --git a/doc/lispref/edebug.texi b/doc/lispref/edebug.texi index 0c17e1e72ef..031fe65266e 100644 --- a/doc/lispref/edebug.texi +++ b/doc/lispref/edebug.texi | |||
| @@ -898,7 +898,7 @@ lines inserted. | |||
| 898 | 898 | ||
| 899 | @cindex coverage testing (Edebug) | 899 | @cindex coverage testing (Edebug) |
| 900 | @cindex frequency counts | 900 | @cindex frequency counts |
| 901 | @cindex performance analysis | 901 | @cindex performance analysis (Edebug) |
| 902 | Edebug provides rudimentary coverage testing and display of execution | 902 | Edebug provides rudimentary coverage testing and display of execution |
| 903 | frequency. | 903 | frequency. |
| 904 | 904 | ||
diff --git a/doc/lispref/package.texi b/doc/lispref/package.texi index 877aaf89a35..d179cf56fd2 100644 --- a/doc/lispref/package.texi +++ b/doc/lispref/package.texi | |||
| @@ -199,7 +199,7 @@ standard keyword from the @code{finder-known-keywords} list. | |||
| 199 | as explained in @ref{Packaging Basics}. In the above example, a magic | 199 | as explained in @ref{Packaging Basics}. In the above example, a magic |
| 200 | comment autoloads @code{superfrobnicator-mode}. | 200 | comment autoloads @code{superfrobnicator-mode}. |
| 201 | 201 | ||
| 202 | @xref{Package Archives}, for a explanation of how to add a | 202 | @xref{Package Archives}, for an explanation of how to add a |
| 203 | single-file package to a package archive. | 203 | single-file package to a package archive. |
| 204 | 204 | ||
| 205 | @node Multi-file Packages | 205 | @node Multi-file Packages |
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi index 299ed0b7d98..51a440cce74 100644 --- a/doc/lispref/text.texi +++ b/doc/lispref/text.texi | |||
| @@ -2981,7 +2981,7 @@ optional argument @var{append} is non-@code{nil}, @var{face} is | |||
| 2981 | appended to the end of the list instead. Note that in a face list, | 2981 | appended to the end of the list instead. Note that in a face list, |
| 2982 | the first occurring value for each attribute takes precedence. | 2982 | the first occurring value for each attribute takes precedence. |
| 2983 | 2983 | ||
| 2984 | For example, the following code would assign a italicized green face | 2984 | For example, the following code would assign an italicized green face |
| 2985 | to the text between @var{start} and @var{end}: | 2985 | to the text between @var{start} and @var{end}: |
| 2986 | 2986 | ||
| 2987 | @example | 2987 | @example |
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi index 5ab6d6ee6a4..687d5971920 100644 --- a/doc/lispref/windows.texi +++ b/doc/lispref/windows.texi | |||
| @@ -862,7 +862,7 @@ If the optional argument @var{pixelwise} is non-@code{nil}, | |||
| 862 | A positive @var{delta} moves the edge downwards or to the right; a | 862 | A positive @var{delta} moves the edge downwards or to the right; a |
| 863 | negative @var{delta} moves it upwards or to the left. If the edge | 863 | negative @var{delta} moves it upwards or to the left. If the edge |
| 864 | cannot be moved as far as specified by @var{delta}, this function | 864 | cannot be moved as far as specified by @var{delta}, this function |
| 865 | moves it as far as possible but does not signal a error. | 865 | moves it as far as possible but does not signal an error. |
| 866 | 866 | ||
| 867 | This function tries to resize windows adjacent to the edge that is | 867 | This function tries to resize windows adjacent to the edge that is |
| 868 | moved. If this is not possible for some reason (e.g., if that adjacent | 868 | moved. If this is not possible for some reason (e.g., if that adjacent |
diff --git a/doc/misc/autotype.texi b/doc/misc/autotype.texi index 026c57126d2..3d61d24fa9d 100644 --- a/doc/misc/autotype.texi +++ b/doc/misc/autotype.texi | |||
| @@ -243,7 +243,7 @@ Interesting point. When wrapping skeletons around successive regions, they are | |||
| 243 | put at these places. Point is left at first @code{_} where nothing is wrapped. | 243 | put at these places. Point is left at first @code{_} where nothing is wrapped. |
| 244 | @item @code{>} | 244 | @item @code{>} |
| 245 | Indent line according to major mode. When following element is @code{_}, and | 245 | Indent line according to major mode. When following element is @code{_}, and |
| 246 | there is a interregion that will be wrapped here, indent that interregion. | 246 | there is an interregion that will be wrapped here, indent that interregion. |
| 247 | @item @code{&} | 247 | @item @code{&} |
| 248 | Logical and. If preceding element moved point, i.e., usually inserted | 248 | Logical and. If preceding element moved point, i.e., usually inserted |
| 249 | something, do following element. | 249 | something, do following element. |
diff --git a/doc/misc/cc-mode.texi b/doc/misc/cc-mode.texi index 0132ab1775c..2de56fa05c0 100644 --- a/doc/misc/cc-mode.texi +++ b/doc/misc/cc-mode.texi | |||
| @@ -2408,7 +2408,7 @@ could achieve this with code like this in your @file{.emacs}: | |||
| 2408 | @end group | 2408 | @end group |
| 2409 | @end example | 2409 | @end example |
| 2410 | 2410 | ||
| 2411 | In a programming team, a hook is a also a good place for each member | 2411 | In a programming team, a hook is also a good place for each member |
| 2412 | to put his own personal preferences. For example, you might be the | 2412 | to put his own personal preferences. For example, you might be the |
| 2413 | only person in your team who likes Auto-newline minor mode. You could | 2413 | only person in your team who likes Auto-newline minor mode. You could |
| 2414 | have it enabled by default by placing the following in your | 2414 | have it enabled by default by placing the following in your |
diff --git a/doc/misc/efaq.texi b/doc/misc/efaq.texi index 5392748d00f..da6fda08833 100644 --- a/doc/misc/efaq.texi +++ b/doc/misc/efaq.texi | |||
| @@ -753,7 +753,7 @@ privileges, you have several options: | |||
| 753 | Info files don't actually need to be installed before being used. | 753 | Info files don't actually need to be installed before being used. |
| 754 | You can use a prefix argument for the @code{info} command and specify | 754 | You can use a prefix argument for the @code{info} command and specify |
| 755 | the name of the Info file in the minibuffer. This goes to the node | 755 | the name of the Info file in the minibuffer. This goes to the node |
| 756 | named @samp{Top} in that file. For example, to view a Info file named | 756 | named @samp{Top} in that file. For example, to view an Info file named |
| 757 | @file{@var{info-file}} in your home directory, you can type this: | 757 | @file{@var{info-file}} in your home directory, you can type this: |
| 758 | 758 | ||
| 759 | @example | 759 | @example |
| @@ -3419,7 +3419,7 @@ version of Emacs, and see @ref{Current GNU distributions}, for a list of | |||
| 3419 | archive sites that make GNU software available. | 3419 | archive sites that make GNU software available. |
| 3420 | 3420 | ||
| 3421 | @node Finding a package with particular functionality | 3421 | @node Finding a package with particular functionality |
| 3422 | @section How do I find a Emacs Lisp package that does XXX? | 3422 | @section How do I find an Emacs Lisp package that does XXX? |
| 3423 | @cindex Package, finding | 3423 | @cindex Package, finding |
| 3424 | @cindex Finding an Emacs Lisp package | 3424 | @cindex Finding an Emacs Lisp package |
| 3425 | @cindex Functionality, finding a particular package | 3425 | @cindex Functionality, finding a particular package |
diff --git a/doc/misc/eshell.texi b/doc/misc/eshell.texi index 43f8cd63811..1789767dbe2 100644 --- a/doc/misc/eshell.texi +++ b/doc/misc/eshell.texi | |||
| @@ -1022,7 +1022,7 @@ So that the user can enter @samp{info chmod}, for example. | |||
| 1022 | 1022 | ||
| 1023 | @item Create a mode @code{eshell-browse} | 1023 | @item Create a mode @code{eshell-browse} |
| 1024 | 1024 | ||
| 1025 | It would treat the Eshell buffer as a outline. Collapsing the outline | 1025 | It would treat the Eshell buffer as an outline. Collapsing the outline |
| 1026 | hides all of the output text. Collapsing again would show only the | 1026 | hides all of the output text. Collapsing again would show only the |
| 1027 | first command run in each directory | 1027 | first command run in each directory |
| 1028 | 1028 | ||
diff --git a/doc/misc/gnus-faq.texi b/doc/misc/gnus-faq.texi index 14c0117191e..26135b81de7 100644 --- a/doc/misc/gnus-faq.texi +++ b/doc/misc/gnus-faq.texi | |||
| @@ -441,7 +441,7 @@ machine news.yourprovider.net login YourUserName password YourPassword | |||
| 441 | @noindent | 441 | @noindent |
| 442 | . | 442 | . |
| 443 | Make sure that the file isn't readable to others if you | 443 | Make sure that the file isn't readable to others if you |
| 444 | work on a OS which is capable of doing so. (Under Unix | 444 | work on an OS which is capable of doing so. (Under Unix |
| 445 | say | 445 | say |
| 446 | @example | 446 | @example |
| 447 | chmod 600 ~/.authinfo | 447 | chmod 600 ~/.authinfo |
| @@ -1449,7 +1449,7 @@ all those email addresses? | |||
| 1449 | 1449 | ||
| 1450 | @subsubheading Answer | 1450 | @subsubheading Answer |
| 1451 | 1451 | ||
| 1452 | There's an very basic solution for this, mail aliases. | 1452 | There's a very basic solution for this, mail aliases. |
| 1453 | You can store your mail addresses in a ~/.mailrc file using a simple | 1453 | You can store your mail addresses in a ~/.mailrc file using a simple |
| 1454 | alias syntax: | 1454 | alias syntax: |
| 1455 | 1455 | ||
| @@ -2012,7 +2012,7 @@ server by typing @samp{J a}. If you | |||
| 2012 | make a mistake, or change your mind, you can undo this | 2012 | make a mistake, or change your mind, you can undo this |
| 2013 | action by typing @samp{J r}. When | 2013 | action by typing @samp{J r}. When |
| 2014 | you're done, type 'q' to return to the group buffer. | 2014 | you're done, type 'q' to return to the group buffer. |
| 2015 | Now the next time you enter a group on a agentized | 2015 | Now the next time you enter a group on an agentized |
| 2016 | server, the headers will be stored on disk and read from | 2016 | server, the headers will be stored on disk and read from |
| 2017 | there the next time you enter the group. | 2017 | there the next time you enter the group. |
| 2018 | 2018 | ||
| @@ -2293,7 +2293,7 @@ When the term Emacs is used in this FAQ, it means either GNU | |||
| 2293 | Emacs or XEmacs. | 2293 | Emacs or XEmacs. |
| 2294 | 2294 | ||
| 2295 | @item Message | 2295 | @item Message |
| 2296 | In this FAQ message means a either a mail or a posting to a | 2296 | In this FAQ message means either a mail or a posting to a |
| 2297 | Usenet Newsgroup or to some other fancy back end, no matter | 2297 | Usenet Newsgroup or to some other fancy back end, no matter |
| 2298 | of which kind it is. | 2298 | of which kind it is. |
| 2299 | 2299 | ||
diff --git a/doc/misc/org.texi b/doc/misc/org.texi index 68aa01ca18c..17931905f1a 100644 --- a/doc/misc/org.texi +++ b/doc/misc/org.texi | |||
| @@ -12989,7 +12989,7 @@ of these examples works: | |||
| 12989 | 12989 | ||
| 12990 | @subsubheading Embedding clickable images | 12990 | @subsubheading Embedding clickable images |
| 12991 | For clickable images, provide a link whose description is another link to an | 12991 | For clickable images, provide a link whose description is another link to an |
| 12992 | image file. For example, to embed a image @file{org-mode-unicorn.png} which | 12992 | image file. For example, to embed an image @file{org-mode-unicorn.png} which |
| 12993 | when clicked jumps to @uref{http://Orgmode.org} website, do the following | 12993 | when clicked jumps to @uref{http://Orgmode.org} website, do the following |
| 12994 | 12994 | ||
| 12995 | @example | 12995 | @example |
diff --git a/doc/misc/sc.texi b/doc/misc/sc.texi index d8faad9099f..f214152b5f4 100644 --- a/doc/misc/sc.texi +++ b/doc/misc/sc.texi | |||
| @@ -1340,7 +1340,7 @@ currently part of Supercite, but contributions are welcome! | |||
| 1340 | 1340 | ||
| 1341 | Regi works by interpreting frames with the function | 1341 | Regi works by interpreting frames with the function |
| 1342 | @code{regi-interpret}. A frame is a list of arbitrary size where each | 1342 | @code{regi-interpret}. A frame is a list of arbitrary size where each |
| 1343 | element is a entry of the following form: | 1343 | element is an entry of the following form: |
| 1344 | 1344 | ||
| 1345 | @example | 1345 | @example |
| 1346 | (@var{pred} @var{func} [@var{negate-p} [@var{case-fold-search}]]) | 1346 | (@var{pred} @var{func} [@var{negate-p} [@var{case-fold-search}]]) |
| @@ -1709,7 +1709,7 @@ of information from the info alist. | |||
| 1709 | @item @code{sc-mail-field-query} (@kbd{C-c C-p f}) | 1709 | @item @code{sc-mail-field-query} (@kbd{C-c C-p f}) |
| 1710 | Allows you to interactively view, modify, add, and delete info alist | 1710 | Allows you to interactively view, modify, add, and delete info alist |
| 1711 | key-value pairs. With no argument, you are prompted (with completion) | 1711 | key-value pairs. With no argument, you are prompted (with completion) |
| 1712 | for a info key. The value associated with that key is displayed in the | 1712 | for an info key. The value associated with that key is displayed in the |
| 1713 | minibuffer. With an argument, this command will first ask if you want | 1713 | minibuffer. With an argument, this command will first ask if you want |
| 1714 | to view, modify, add, or delete an info key. Viewing is identical to | 1714 | to view, modify, add, or delete an info key. Viewing is identical to |
| 1715 | running the command with no arguments. | 1715 | running the command with no arguments. |
diff --git a/etc/CALC-NEWS b/etc/CALC-NEWS index 394894ad036..04baf41148e 100644 --- a/etc/CALC-NEWS +++ b/etc/CALC-NEWS | |||
| @@ -70,7 +70,7 @@ For changes in Emacs 23.1 and later, see the main Emacs NEWS file. | |||
| 70 | 70 | ||
| 71 | * Version 2.02d: | 71 | * Version 2.02d: |
| 72 | 72 | ||
| 73 | ** Fixed a minor installation problem with a Emacs 19.29 byte-compiler bug. | 73 | ** Fixed a minor installation problem with an Emacs 19.29 byte-compiler bug. |
| 74 | 74 | ||
| 75 | ** Removed archaic "macedit" package (superseded by "edmacro"). | 75 | ** Removed archaic "macedit" package (superseded by "edmacro"). |
| 76 | 76 | ||
diff --git a/etc/ETAGS.EBNF b/etc/ETAGS.EBNF index 221078a88a0..23bb9445edd 100644 --- a/etc/ETAGS.EBNF +++ b/etc/ETAGS.EBNF | |||
| @@ -84,7 +84,7 @@ whether it is possible to deduce the tag name from the pattern, and make | |||
| 84 | an unnamed tag in those cases. The name deduced from the pattern of an | 84 | an unnamed tag in those cases. The name deduced from the pattern of an |
| 85 | unnamed tag is the implicit name of that tag. | 85 | unnamed tag is the implicit name of that tag. |
| 86 | When the user looks for a tag, and Emacs finds no explicit tag names | 86 | When the user looks for a tag, and Emacs finds no explicit tag names |
| 87 | that match it, Emacs then looks for an tag whose implicit tag name | 87 | that match it, Emacs then looks for a tag whose implicit tag name |
| 88 | matches the request. etags.c uses implicit tag names when possible, in | 88 | matches the request. etags.c uses implicit tag names when possible, in |
| 89 | order to reduce the size of the tags file. | 89 | order to reduce the size of the tags file. |
| 90 | An implicit tag name is deduced from the pattern by discarding the | 90 | An implicit tag name is deduced from the pattern by discarding the |
diff --git a/etc/NEWS.20 b/etc/NEWS.20 index 3391d3e4682..31e640fa94e 100644 --- a/etc/NEWS.20 +++ b/etc/NEWS.20 | |||
| @@ -4130,17 +4130,16 @@ is an alternative to using the keymap itself. | |||
| 4130 | ** Changes in invisibility features | 4130 | ** Changes in invisibility features |
| 4131 | 4131 | ||
| 4132 | *** Isearch can now temporarily show parts of the buffer which are | 4132 | *** Isearch can now temporarily show parts of the buffer which are |
| 4133 | hidden by an overlay with a invisible property, when the search match | 4133 | hidden by an overlay with an invisible property, when the search match |
| 4134 | is inside that portion of the buffer. To enable this the overlay | 4134 | is inside that portion of the buffer. To enable this the overlay |
| 4135 | should have a isearch-open-invisible property which is a function that | 4135 | should have an isearch-open-invisible property, which is a function that |
| 4136 | would be called having the overlay as an argument, the function should | 4136 | would be called with the overlay as an argument, and should make it visible. |
| 4137 | make the overlay visible. | ||
| 4138 | 4137 | ||
| 4139 | During incremental search the overlays are shown by modifying the | 4138 | During incremental search the overlays are shown by modifying the |
| 4140 | invisible and intangible properties, if beside this more actions are | 4139 | invisible and intangible properties. If more actions are |
| 4141 | needed the overlay should have a isearch-open-invisible-temporary | 4140 | needed, the overlay should have an isearch-open-invisible-temporary property, |
| 4142 | which is a function. The function is called with 2 arguments: one is | 4141 | which is a function. The function is called with 2 arguments: one is |
| 4143 | the overlay and the second is nil when it should show the overlay and | 4142 | the overlay, and the second is nil when it should show the overlay and |
| 4144 | t when it should hide it. | 4143 | t when it should hide it. |
| 4145 | 4144 | ||
| 4146 | *** add-to-invisibility-spec, remove-from-invisibility-spec | 4145 | *** add-to-invisibility-spec, remove-from-invisibility-spec |
diff --git a/etc/NEWS.21 b/etc/NEWS.21 index 04bde7e3aea..ea4f4212ee0 100644 --- a/etc/NEWS.21 +++ b/etc/NEWS.21 | |||
| @@ -4348,7 +4348,7 @@ integer. This is a required property. | |||
| 4348 | `:pt-height HEIGHT' | 4348 | `:pt-height HEIGHT' |
| 4349 | 4349 | ||
| 4350 | HEIGHT specifies the height of the image in pt (1/72 inch). HEIGHT | 4350 | HEIGHT specifies the height of the image in pt (1/72 inch). HEIGHT |
| 4351 | must be a integer. This is an required property. | 4351 | must be an integer. This is a required property. |
| 4352 | 4352 | ||
| 4353 | `:bounding-box BOX' | 4353 | `:bounding-box BOX' |
| 4354 | 4354 | ||
| @@ -4868,7 +4868,7 @@ temporarily to nil, for example | |||
| 4868 | (enlarge-window 10)) | 4868 | (enlarge-window 10)) |
| 4869 | 4869 | ||
| 4870 | Likewise, an attempt to split a fixed-height window vertically, | 4870 | Likewise, an attempt to split a fixed-height window vertically, |
| 4871 | or a fixed-width window horizontally results in a error. | 4871 | or a fixed-width window horizontally results in an error. |
| 4872 | 4872 | ||
| 4873 | ** The cursor-type frame parameter is now supported on MS-DOS | 4873 | ** The cursor-type frame parameter is now supported on MS-DOS |
| 4874 | terminals. When Emacs starts, it by default changes the cursor shape | 4874 | terminals. When Emacs starts, it by default changes the cursor shape |
diff --git a/etc/NEWS.22 b/etc/NEWS.22 index c1009fc0d02..26054d2c397 100644 --- a/etc/NEWS.22 +++ b/etc/NEWS.22 | |||
| @@ -4895,7 +4895,7 @@ described above and specifies the total height of the line, causing a | |||
| 4895 | varying number of pixels to be inserted after the line to make it line | 4895 | varying number of pixels to be inserted after the line to make it line |
| 4896 | exactly that many pixels high. | 4896 | exactly that many pixels high. |
| 4897 | 4897 | ||
| 4898 | If the `line-spacing' property value is an positive integer, the value | 4898 | If the `line-spacing' property value is a positive integer, the value |
| 4899 | is used as additional pixels to insert after the display line; this | 4899 | is used as additional pixels to insert after the display line; this |
| 4900 | overrides the default frame `line-spacing' and any buffer local value of | 4900 | overrides the default frame `line-spacing' and any buffer local value of |
| 4901 | the `line-spacing' variable. | 4901 | the `line-spacing' variable. |
diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS index e7e60bea279..12eab44f0f7 100644 --- a/etc/ORG-NEWS +++ b/etc/ORG-NEWS | |||
| @@ -148,7 +148,7 @@ directories in published site-maps. | |||
| 148 | **** Scheme: support for tables | 148 | **** Scheme: support for tables |
| 149 | **** Scheme: new variable: ~org-babel-scheme-null-to~ | 149 | **** Scheme: new variable: ~org-babel-scheme-null-to~ |
| 150 | 150 | ||
| 151 | This new custom option allows to use a empty list or null symbol to | 151 | This new custom option allows you to use an empty list or null symbol to |
| 152 | format the table output, initially assigned to ~hlines~. | 152 | format the table output, initially assigned to ~hlines~. |
| 153 | 153 | ||
| 154 | **** Scheme: new header ~:prologue~ | 154 | **** Scheme: new header ~:prologue~ |
diff --git a/lisp/calendar/holidays.el b/lisp/calendar/holidays.el index 198c3bb087f..f38308378d6 100644 --- a/lisp/calendar/holidays.el +++ b/lisp/calendar/holidays.el | |||
| @@ -399,7 +399,7 @@ use instead of point." | |||
| 399 | (defun holidays (&optional arg) | 399 | (defun holidays (&optional arg) |
| 400 | "Display the holidays for last month, this month, and next month. | 400 | "Display the holidays for last month, this month, and next month. |
| 401 | If called with an optional prefix argument ARG, prompts for month and year. | 401 | If called with an optional prefix argument ARG, prompts for month and year. |
| 402 | This function is suitable for execution in a init file." | 402 | This function is suitable for execution in an init file." |
| 403 | (interactive "P") | 403 | (interactive "P") |
| 404 | (save-excursion | 404 | (save-excursion |
| 405 | (let* ((completion-ignore-case t) | 405 | (let* ((completion-ignore-case t) |
diff --git a/lisp/calendar/todo-mode.el b/lisp/calendar/todo-mode.el index 4246ca5a38a..5161ae8d668 100644 --- a/lisp/calendar/todo-mode.el +++ b/lisp/calendar/todo-mode.el | |||
| @@ -623,7 +623,7 @@ Todo mode revisit this file or, with option | |||
| 623 | file was last visited. | 623 | file was last visited. |
| 624 | 624 | ||
| 625 | If you call this command before you have created any todo file in | 625 | If you call this command before you have created any todo file in |
| 626 | the current format, and you have an todo file in old format, it | 626 | the current format, and you have a todo file in old format, it |
| 627 | will ask you whether to convert that file and show it. | 627 | will ask you whether to convert that file and show it. |
| 628 | Otherwise, calling this command before any todo file exists | 628 | Otherwise, calling this command before any todo file exists |
| 629 | prompts for a file name and an initial category (defaulting to | 629 | prompts for a file name and an initial category (defaulting to |
diff --git a/lisp/cedet/ede/cpp-root.el b/lisp/cedet/ede/cpp-root.el index 76afe9b9bfd..bcefb4e340c 100644 --- a/lisp/cedet/ede/cpp-root.el +++ b/lisp/cedet/ede/cpp-root.el | |||
| @@ -137,7 +137,7 @@ | |||
| 137 | ;; Need a way to reconfigure a project, and have it affect all open buffers. | 137 | ;; Need a way to reconfigure a project, and have it affect all open buffers. |
| 138 | ;; From Tobias Gerdin: | 138 | ;; From Tobias Gerdin: |
| 139 | ;; | 139 | ;; |
| 140 | ;; >>3) Is there any way to refresh a ede-cpp-root-project dynamically? I have | 140 | ;; >>3) Is there any way to refresh an ede-cpp-root-project dynamically? I have |
| 141 | ;; >>some file open part of the project, fiddle with the include paths and would | 141 | ;; >>some file open part of the project, fiddle with the include paths and would |
| 142 | ;; >>like the open buffer to notice this when I re-evaluate the | 142 | ;; >>like the open buffer to notice this when I re-evaluate the |
| 143 | ;; >>ede-cpp-root-project constructor. | 143 | ;; >>ede-cpp-root-project constructor. |
diff --git a/lisp/cedet/ede/files.el b/lisp/cedet/ede/files.el index 36ec7a1d894..c95402e365d 100644 --- a/lisp/cedet/ede/files.el +++ b/lisp/cedet/ede/files.el | |||
| @@ -25,7 +25,7 @@ | |||
| 25 | ;; | 25 | ;; |
| 26 | ;; Basic Model: | 26 | ;; Basic Model: |
| 27 | ;; | 27 | ;; |
| 28 | ;; A directory belongs to a project if a ede-project-autoload structure | 28 | ;; A directory belongs to a project if an ede-project-autoload structure |
| 29 | ;; matches your directory. | 29 | ;; matches your directory. |
| 30 | ;; | 30 | ;; |
| 31 | ;; A toplevel project is one where there is no active project above | 31 | ;; A toplevel project is one where there is no active project above |
diff --git a/lisp/cedet/semantic/analyze.el b/lisp/cedet/semantic/analyze.el index 8f3d5b2b1cf..7c9f102951d 100644 --- a/lisp/cedet/semantic/analyze.el +++ b/lisp/cedet/semantic/analyze.el | |||
| @@ -121,7 +121,7 @@ See `semantic-analyze-scoped-tags' for details.") | |||
| 121 | :type buffer | 121 | :type buffer |
| 122 | :documentation "The buffer this context is derived from.") | 122 | :documentation "The buffer this context is derived from.") |
| 123 | (errors :initarg :errors | 123 | (errors :initarg :errors |
| 124 | :documentation "Any errors thrown an caught during analysis.") | 124 | :documentation "Any errors thrown and caught during analysis.") |
| 125 | ) | 125 | ) |
| 126 | "Base analysis data for any context.") | 126 | "Base analysis data for any context.") |
| 127 | 127 | ||
diff --git a/lisp/cedet/semantic/dep.el b/lisp/cedet/semantic/dep.el index 6f1bde02091..640884d014b 100644 --- a/lisp/cedet/semantic/dep.el +++ b/lisp/cedet/semantic/dep.el | |||
| @@ -67,7 +67,7 @@ For mode authors, use | |||
| 67 | `defcustom-mode-local-semantic-dependency-system-include-path' | 67 | `defcustom-mode-local-semantic-dependency-system-include-path' |
| 68 | to create a mode-specific variable to control this. | 68 | to create a mode-specific variable to control this. |
| 69 | 69 | ||
| 70 | When searching for a file associated with a name found in an tag of | 70 | When searching for a file associated with a name found in a tag of |
| 71 | class include, this path will be inspected for includes of type | 71 | class include, this path will be inspected for includes of type |
| 72 | `system'. Some include tags are agnostic to this setting and will | 72 | `system'. Some include tags are agnostic to this setting and will |
| 73 | check both the project and system directories.") | 73 | check both the project and system directories.") |
diff --git a/lisp/cedet/semantic/lex.el b/lisp/cedet/semantic/lex.el index 0403e5e7f20..0cc296f09da 100644 --- a/lisp/cedet/semantic/lex.el +++ b/lisp/cedet/semantic/lex.el | |||
| @@ -408,7 +408,7 @@ TYPE name does not exist. Otherwise signal an error." | |||
| 408 | SPECS must be a list of (TYPE . TOKENS) elements, where: | 408 | SPECS must be a list of (TYPE . TOKENS) elements, where: |
| 409 | 409 | ||
| 410 | TYPE is the name of the type symbol to define. | 410 | TYPE is the name of the type symbol to define. |
| 411 | TOKENS is an list of (TOKSYM . MATCHER) elements, where: | 411 | TOKENS is a list of (TOKSYM . MATCHER) elements, where: |
| 412 | 412 | ||
| 413 | TOKSYM is any lexical token symbol. | 413 | TOKSYM is any lexical token symbol. |
| 414 | MATCHER is a string or regexp a text must match to be a such | 414 | MATCHER is a string or regexp a text must match to be a such |
diff --git a/lisp/cedet/semantic/util-modes.el b/lisp/cedet/semantic/util-modes.el index 6374a0cb089..54c9578773a 100644 --- a/lisp/cedet/semantic/util-modes.el +++ b/lisp/cedet/semantic/util-modes.el | |||
| @@ -782,7 +782,7 @@ If there is no function, disable the header line." | |||
| 782 | (goto-char (semantic-tag-start tag)) | 782 | (goto-char (semantic-tag-start tag)) |
| 783 | ;; Klaus Berndl <klaus.berndl@sdm.de>: | 783 | ;; Klaus Berndl <klaus.berndl@sdm.de>: |
| 784 | ;; goto the tag name; this is especially needed for languages | 784 | ;; goto the tag name; this is especially needed for languages |
| 785 | ;; like c++ where a often used style is like: | 785 | ;; like c++ where an often used style is like: |
| 786 | ;; void | 786 | ;; void |
| 787 | ;; ClassX::methodM(arg1...) | 787 | ;; ClassX::methodM(arg1...) |
| 788 | ;; { | 788 | ;; { |
diff --git a/lisp/cedet/srecode/el.el b/lisp/cedet/srecode/el.el index f5f1265ccda..ff9e1d53f91 100644 --- a/lisp/cedet/srecode/el.el +++ b/lisp/cedet/srecode/el.el | |||
| @@ -24,7 +24,7 @@ | |||
| 24 | ;; Emacs Lisp specific handlers. To use these handlers in your | 24 | ;; Emacs Lisp specific handlers. To use these handlers in your |
| 25 | ;; template, add the :name part to your template argument list. | 25 | ;; template, add the :name part to your template argument list. |
| 26 | ;; | 26 | ;; |
| 27 | ;; Error if not in a Emacs Lisp mode | 27 | ;; Error if not in an Emacs Lisp mode |
| 28 | 28 | ||
| 29 | ;;; Code: | 29 | ;;; Code: |
| 30 | 30 | ||
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index 8284e91b790..816c7f7881a 100644 --- a/lisp/cus-edit.el +++ b/lisp/cus-edit.el | |||
| @@ -1192,7 +1192,7 @@ For example, the MH-E package updates this alist as follows: | |||
| 1192 | 1192 | ||
| 1193 | The value of PACKAGE needs to be unique and it needs to match the | 1193 | The value of PACKAGE needs to be unique and it needs to match the |
| 1194 | PACKAGE value appearing in the :package-version keyword. Since | 1194 | PACKAGE value appearing in the :package-version keyword. Since |
| 1195 | the user might see the value in a error message, a good choice is | 1195 | the user might see the value in an error message, a good choice is |
| 1196 | the official name of the package, such as MH-E or Gnus.") | 1196 | the official name of the package, such as MH-E or Gnus.") |
| 1197 | 1197 | ||
| 1198 | ;;;###autoload | 1198 | ;;;###autoload |
diff --git a/lisp/desktop.el b/lisp/desktop.el index 420d62a366f..8bd44658d85 100644 --- a/lisp/desktop.el +++ b/lisp/desktop.el | |||
| @@ -393,7 +393,8 @@ or `desktop-modes-not-to-save'." | |||
| 393 | ;; Skip tramp and ange-ftp files | 393 | ;; Skip tramp and ange-ftp files |
| 394 | (defcustom desktop-files-not-to-save | 394 | (defcustom desktop-files-not-to-save |
| 395 | "\\(^/[^/:]*:\\|(ftp)$\\)" | 395 | "\\(^/[^/:]*:\\|(ftp)$\\)" |
| 396 | "Regexp identifying files whose buffers are to be excluded from saving." | 396 | "Regexp identifying files whose buffers are to be excluded from saving. |
| 397 | The default value excludes buffers visiting remote files." | ||
| 397 | :type '(choice (const :tag "None" nil) | 398 | :type '(choice (const :tag "None" nil) |
| 398 | regexp) | 399 | regexp) |
| 399 | :group 'desktop) | 400 | :group 'desktop) |
diff --git a/lisp/emacs-lisp/benchmark.el b/lisp/emacs-lisp/benchmark.el index 0dc9333d5fa..b86b56b81ec 100644 --- a/lisp/emacs-lisp/benchmark.el +++ b/lisp/emacs-lisp/benchmark.el | |||
| @@ -96,7 +96,8 @@ result. The overhead of the `lambda's is accounted for." | |||
| 96 | ;;;###autoload | 96 | ;;;###autoload |
| 97 | (defun benchmark (repetitions form) | 97 | (defun benchmark (repetitions form) |
| 98 | "Print the time taken for REPETITIONS executions of FORM. | 98 | "Print the time taken for REPETITIONS executions of FORM. |
| 99 | Interactively, REPETITIONS is taken from the prefix arg. | 99 | Interactively, REPETITIONS is taken from the prefix arg, and |
| 100 | the command prompts for the form to benchmark. | ||
| 100 | For non-interactive use see also `benchmark-run' and | 101 | For non-interactive use see also `benchmark-run' and |
| 101 | `benchmark-run-compiled'." | 102 | `benchmark-run-compiled'." |
| 102 | (interactive "p\nxForm: ") | 103 | (interactive "p\nxForm: ") |
diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el index a0b42086308..4f97712b980 100644 --- a/lisp/emacs-lisp/edebug.el +++ b/lisp/emacs-lisp/edebug.el | |||
| @@ -641,7 +641,7 @@ list of a symbol.") | |||
| 641 | 641 | ||
| 642 | (defun edebug-form-data-symbol () | 642 | (defun edebug-form-data-symbol () |
| 643 | "Return the edebug data symbol of the form where point is in. | 643 | "Return the edebug data symbol of the form where point is in. |
| 644 | If point is not inside a edebuggable form, cause error." | 644 | If point is not inside an edebuggable form, signal an error." |
| 645 | (or (edebug--form-data-name (edebug-get-form-data-entry (point))) | 645 | (or (edebug--form-data-name (edebug-get-form-data-entry (point))) |
| 646 | (error "Not inside instrumented form"))) | 646 | (error "Not inside instrumented form"))) |
| 647 | 647 | ||
diff --git a/lisp/emacs-lisp/elp.el b/lisp/emacs-lisp/elp.el index 2dc18163aa3..012e7cf1cd3 100644 --- a/lisp/emacs-lisp/elp.el +++ b/lisp/emacs-lisp/elp.el | |||
| @@ -278,8 +278,9 @@ Argument FUNSYM is the symbol of a defined function." | |||
| 278 | (defun elp-instrument-list (&optional list) | 278 | (defun elp-instrument-list (&optional list) |
| 279 | "Instrument, for profiling, all functions in `elp-function-list'. | 279 | "Instrument, for profiling, all functions in `elp-function-list'. |
| 280 | Use optional LIST if provided instead. | 280 | Use optional LIST if provided instead. |
| 281 | If called interactively, read LIST using the minibuffer." | 281 | If called interactively, prompt for LIST in the minibuffer; |
| 282 | (interactive "PList of functions to instrument: ") ;FIXME: Doesn't work?! | 282 | type \"nil\" to use `elp-function-list'." |
| 283 | (interactive "xList of functions to instrument: ") | ||
| 283 | (unless (listp list) | 284 | (unless (listp list) |
| 284 | (signal 'wrong-type-argument (list 'listp list))) | 285 | (signal 'wrong-type-argument (list 'listp list))) |
| 285 | (mapcar #'elp-instrument-function (or list elp-function-list))) | 286 | (mapcar #'elp-instrument-function (or list elp-function-list))) |
diff --git a/lisp/emacs-lisp/ewoc.el b/lisp/emacs-lisp/ewoc.el index b88a1a5097c..262d4d85941 100644 --- a/lisp/emacs-lisp/ewoc.el +++ b/lisp/emacs-lisp/ewoc.el | |||
| @@ -411,7 +411,7 @@ If the EWOC is empty, nil is returned." | |||
| 411 | ((>= pos (ewoc--node-start-marker (ewoc--node-nth dll -2))) | 411 | ((>= pos (ewoc--node-start-marker (ewoc--node-nth dll -2))) |
| 412 | (ewoc--node-nth dll -2)) | 412 | (ewoc--node-nth dll -2)) |
| 413 | 413 | ||
| 414 | ;; We now know that pos is within a elem. | 414 | ;; We now know that pos is within an elem. |
| 415 | (t | 415 | (t |
| 416 | ;; Make an educated guess about which of the three known | 416 | ;; Make an educated guess about which of the three known |
| 417 | ;; node'es (the first, the last, or GUESS) is nearest. | 417 | ;; node'es (the first, the last, or GUESS) is nearest. |
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index ab02d4255b1..999e0d07524 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el | |||
| @@ -1750,7 +1750,7 @@ with PKG-DESC entry removed." | |||
| 1750 | "Return a list of dependencies for PACKAGE sorted by dependency. | 1750 | "Return a list of dependencies for PACKAGE sorted by dependency. |
| 1751 | PACKAGE is included as the first element of the returned list. | 1751 | PACKAGE is included as the first element of the returned list. |
| 1752 | ONLY is an alist associating package names to package objects. | 1752 | ONLY is an alist associating package names to package objects. |
| 1753 | Only these packages will be in the return value an their cdrs are | 1753 | Only these packages will be in the return value and their cdrs are |
| 1754 | destructively set to nil in ONLY." | 1754 | destructively set to nil in ONLY." |
| 1755 | (let ((out)) | 1755 | (let ((out)) |
| 1756 | (dolist (dep (package-desc-reqs package)) | 1756 | (dolist (dep (package-desc-reqs package)) |
diff --git a/lisp/epa.el b/lisp/epa.el index 8694de48172..5c237bca9b4 100644 --- a/lisp/epa.el +++ b/lisp/epa.el | |||
| @@ -267,7 +267,7 @@ You should bind this variable with `let', but do not set it globally.") | |||
| 267 | (defvar epa-exit-buffer-function #'quit-window) | 267 | (defvar epa-exit-buffer-function #'quit-window) |
| 268 | 268 | ||
| 269 | (define-widget 'epa-key 'push-button | 269 | (define-widget 'epa-key 'push-button |
| 270 | "Button for representing a epg-key object." | 270 | "Button for representing an epg-key object." |
| 271 | :format "%[%v%]" | 271 | :format "%[%v%]" |
| 272 | :button-face-get 'epa--key-widget-button-face-get | 272 | :button-face-get 'epa--key-widget-button-face-get |
| 273 | :value-create 'epa--key-widget-value-create | 273 | :value-create 'epa--key-widget-value-create |
diff --git a/lisp/eshell/esh-cmd.el b/lisp/eshell/esh-cmd.el index ddab3350493..61c0ebc71d0 100644 --- a/lisp/eshell/esh-cmd.el +++ b/lisp/eshell/esh-cmd.el | |||
| @@ -80,7 +80,7 @@ | |||
| 80 | ;; | 80 | ;; |
| 81 | ;; echo x$(+ 1 2) "String $(+ 1 2)" | 81 | ;; echo x$(+ 1 2) "String $(+ 1 2)" |
| 82 | ;; | 82 | ;; |
| 83 | ;; To pass a Lisp symbol as a argument, use the alternate quoting | 83 | ;; To pass a Lisp symbol as an argument, use the alternate quoting |
| 84 | ;; syntax, since the single quote character is far too overused in | 84 | ;; syntax, since the single quote character is far too overused in |
| 85 | ;; shell syntax: | 85 | ;; shell syntax: |
| 86 | ;; | 86 | ;; |
diff --git a/lisp/eshell/esh-proc.el b/lisp/eshell/esh-proc.el index 841a95006f1..59fb9b926d4 100644 --- a/lisp/eshell/esh-proc.el +++ b/lisp/eshell/esh-proc.el | |||
| @@ -87,7 +87,7 @@ variable's value to take effect." | |||
| 87 | "Called each time a process is exec'd by `eshell-gather-process-output'. | 87 | "Called each time a process is exec'd by `eshell-gather-process-output'. |
| 88 | It is passed one argument, which is the process that was just started. | 88 | It is passed one argument, which is the process that was just started. |
| 89 | It is useful for things that must be done each time a process is | 89 | It is useful for things that must be done each time a process is |
| 90 | executed in a eshell mode buffer (e.g., `process-kill-without-query'). | 90 | executed in an eshell mode buffer (e.g., `process-kill-without-query'). |
| 91 | In contrast, `eshell-mode-hook' is only executed once when the buffer | 91 | In contrast, `eshell-mode-hook' is only executed once when the buffer |
| 92 | is created." | 92 | is created." |
| 93 | :type 'hook | 93 | :type 'hook |
diff --git a/lisp/faces.el b/lisp/faces.el index 0fe839d620e..18b821a0b69 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -698,7 +698,7 @@ Otherwise, VALUE must be a property list of the form: | |||
| 698 | 698 | ||
| 699 | `(:color COLOR :style STYLE)'. | 699 | `(:color COLOR :style STYLE)'. |
| 700 | 700 | ||
| 701 | COLOR can be a either a color name string or `foreground-color'. | 701 | COLOR can be either a color name string or `foreground-color'. |
| 702 | STYLE can be either `line' or `wave'. | 702 | STYLE can be either `line' or `wave'. |
| 703 | If a keyword/value pair is missing from the property list, a | 703 | If a keyword/value pair is missing from the property list, a |
| 704 | default value will be used for the value. | 704 | default value will be used for the value. |
diff --git a/lisp/ffap.el b/lisp/ffap.el index d584692533a..4e479d1b82b 100644 --- a/lisp/ffap.el +++ b/lisp/ffap.el | |||
| @@ -1081,7 +1081,7 @@ If a given RFC isn't in these then `ffap-rfc-path' is offered." | |||
| 1081 | ;; * strip trailing "@" and ":" | 1081 | ;; * strip trailing "@" and ":" |
| 1082 | ;; * no commas (good for latex) | 1082 | ;; * no commas (good for latex) |
| 1083 | (file "--:\\\\${}+<>@-Z_[:alpha:]~*?" "<@" "@>;.,!:") | 1083 | (file "--:\\\\${}+<>@-Z_[:alpha:]~*?" "<@" "@>;.,!:") |
| 1084 | ;; An url, or maybe a email/news message-id: | 1084 | ;; An url, or maybe an email/news message-id: |
| 1085 | (url "--:=&?$+@-Z_[:alpha:]~#,%;*()!'" "^[0-9a-zA-Z]" ":;.,!?") | 1085 | (url "--:=&?$+@-Z_[:alpha:]~#,%;*()!'" "^[0-9a-zA-Z]" ":;.,!?") |
| 1086 | ;; Find a string that does *not* contain a colon: | 1086 | ;; Find a string that does *not* contain a colon: |
| 1087 | (nocolon "--9$+<>@-Z_[:alpha:]~" "<@" "@>;.,!?") | 1087 | (nocolon "--9$+<>@-Z_[:alpha:]~" "<@" "@>;.,!?") |
diff --git a/lisp/filenotify.el b/lisp/filenotify.el index d88578b65c8..5d37f39a70b 100644 --- a/lisp/filenotify.el +++ b/lisp/filenotify.el | |||
| @@ -424,7 +424,7 @@ DESCRIPTOR should be an object returned by `file-notify-add-watch'." | |||
| 424 | ;; TODO: | 424 | ;; TODO: |
| 425 | ;; * Watching a /dir/file may receive events for dir. | 425 | ;; * Watching a /dir/file may receive events for dir. |
| 426 | ;; (This may be the desired behaviour.) | 426 | ;; (This may be the desired behaviour.) |
| 427 | ;; * Watching a file in a already watched directory | 427 | ;; * Watching a file in an already watched directory |
| 428 | ;; If the file is created and *then* a watch is added to that file, the | 428 | ;; If the file is created and *then* a watch is added to that file, the |
| 429 | ;; watch might receive events which occurred prior to it being created, | 429 | ;; watch might receive events which occurred prior to it being created, |
| 430 | ;; due to the way events are propagated during idle time. Note: This | 430 | ;; due to the way events are propagated during idle time. Note: This |
diff --git a/lisp/font-lock.el b/lisp/font-lock.el index 6f28569fc32..29d3bc58646 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el | |||
| @@ -1835,7 +1835,7 @@ If SYNTACTIC-KEYWORDS is non-nil, it means these keywords are used for | |||
| 1835 | (eval keywords))))) | 1835 | (eval keywords))))) |
| 1836 | 1836 | ||
| 1837 | (defun font-lock-value-in-major-mode (values) | 1837 | (defun font-lock-value-in-major-mode (values) |
| 1838 | "If VALUES is an list, use `major-mode' as a key and return the `assq' value. | 1838 | "If VALUES is a list, use `major-mode' as a key and return the `assq' value. |
| 1839 | VALUES should then be an alist on the form ((MAJOR-MODE . VALUE) ...) where | 1839 | VALUES should then be an alist on the form ((MAJOR-MODE . VALUE) ...) where |
| 1840 | MAJOR-MODE may be t. | 1840 | MAJOR-MODE may be t. |
| 1841 | If VALUES isn't a list, return VALUES." | 1841 | If VALUES isn't a list, return VALUES." |
diff --git a/lisp/gnus/deuglify.el b/lisp/gnus/deuglify.el index ce3ead3568f..d2bc87caa27 100644 --- a/lisp/gnus/deuglify.el +++ b/lisp/gnus/deuglify.el | |||
| @@ -284,7 +284,7 @@ | |||
| 284 | :group 'gnus-outlook-deuglify) | 284 | :group 'gnus-outlook-deuglify) |
| 285 | 285 | ||
| 286 | (defcustom gnus-outlook-display-hook nil | 286 | (defcustom gnus-outlook-display-hook nil |
| 287 | "A hook called after an deuglified article has been prepared. | 287 | "A hook called after a deuglified article has been prepared. |
| 288 | It is run after `gnus-article-prepare-hook'." | 288 | It is run after `gnus-article-prepare-hook'." |
| 289 | :version "22.1" | 289 | :version "22.1" |
| 290 | :type 'hook | 290 | :type 'hook |
diff --git a/lisp/gnus/gnus-agent.el b/lisp/gnus/gnus-agent.el index c786a9c82de..ada148d20b2 100644 --- a/lisp/gnus/gnus-agent.el +++ b/lisp/gnus/gnus-agent.el | |||
| @@ -451,7 +451,7 @@ manipulated as follows: | |||
| 451 | (defvar gnus-agent-mode-status '(gnus-agent-mode " Plugged")) | 451 | (defvar gnus-agent-mode-status '(gnus-agent-mode " Plugged")) |
| 452 | 452 | ||
| 453 | (defun gnus-agent-mode () | 453 | (defun gnus-agent-mode () |
| 454 | "Minor mode for providing a agent support in Gnus buffers." | 454 | "Minor mode for providing agent support in Gnus buffers." |
| 455 | (let* ((buffer (progn (string-match "^gnus-\\(.*\\)-mode$" | 455 | (let* ((buffer (progn (string-match "^gnus-\\(.*\\)-mode$" |
| 456 | (symbol-name major-mode)) | 456 | (symbol-name major-mode)) |
| 457 | (match-string 1 (symbol-name major-mode)))) | 457 | (match-string 1 (symbol-name major-mode)))) |
diff --git a/lisp/gnus/gnus-cache.el b/lisp/gnus/gnus-cache.el index d1324fef633..1cdfea625fc 100644 --- a/lisp/gnus/gnus-cache.el +++ b/lisp/gnus/gnus-cache.el | |||
| @@ -443,7 +443,7 @@ A group name is decoded according to | |||
| 443 | decoded again according to `nnmail-pathname-coding-system', | 443 | decoded again according to `nnmail-pathname-coding-system', |
| 444 | `file-name-coding-system', or `default-file-name-coding-system'. | 444 | `file-name-coding-system', or `default-file-name-coding-system'. |
| 445 | 445 | ||
| 446 | It is used when asking for a original group name from a cache | 446 | It is used when asking for an original group name from a cache |
| 447 | directory name, in which non-ASCII characters might have been unified | 447 | directory name, in which non-ASCII characters might have been unified |
| 448 | into the ones of a certain charset particularly if the `utf-8' coding | 448 | into the ones of a certain charset particularly if the `utf-8' coding |
| 449 | system for example was used.") | 449 | system for example was used.") |
diff --git a/lisp/gnus/gnus-cus.el b/lisp/gnus/gnus-cus.el index 00ccfb7e3dd..f4c0aa73327 100644 --- a/lisp/gnus/gnus-cus.el +++ b/lisp/gnus/gnus-cus.el | |||
| @@ -365,7 +365,7 @@ category.")) | |||
| 365 | (unless (or group topic) | 365 | (unless (or group topic) |
| 366 | (error "No group on current line")) | 366 | (error "No group on current line")) |
| 367 | (when (and group topic) | 367 | (when (and group topic) |
| 368 | (error "Both a group an topic on current line")) | 368 | (error "Both a group and topic on current line")) |
| 369 | (unless (or topic (setq info (gnus-get-info group))) | 369 | (unless (or topic (setq info (gnus-get-info group))) |
| 370 | (error "Killed group; can't be edited")) | 370 | (error "Killed group; can't be edited")) |
| 371 | ;; Ready. | 371 | ;; Ready. |
diff --git a/lisp/gnus/gnus-fun.el b/lisp/gnus/gnus-fun.el index d0557dc7e4d..40c6d511115 100644 --- a/lisp/gnus/gnus-fun.el +++ b/lisp/gnus/gnus-fun.el | |||
| @@ -66,7 +66,7 @@ | |||
| 66 | (defcustom gnus-convert-image-to-x-face-command | 66 | (defcustom gnus-convert-image-to-x-face-command |
| 67 | "convert -scale 48x48! %s xbm:- | xbm2xface.pl" | 67 | "convert -scale 48x48! %s xbm:- | xbm2xface.pl" |
| 68 | "Command for converting an image to an X-Face. | 68 | "Command for converting an image to an X-Face. |
| 69 | The command must take a image filename (use \"%s\") as input. | 69 | The command must take an image filename (use \"%s\") as input. |
| 70 | The output must be the X-Face header data on stdout." | 70 | The output must be the X-Face header data on stdout." |
| 71 | :version "22.1" | 71 | :version "22.1" |
| 72 | :group 'gnus-fun | 72 | :group 'gnus-fun |
diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el index 0edde630fcb..123b64ac6cc 100644 --- a/lisp/gnus/gnus.el +++ b/lisp/gnus/gnus.el | |||
| @@ -2378,11 +2378,11 @@ This variable is persisted in the user's .newsrc.eld file.") | |||
| 2378 | 2378 | ||
| 2379 | ;; Propagate flags to server, with the following exceptions: | 2379 | ;; Propagate flags to server, with the following exceptions: |
| 2380 | ;; `seen' is private to each gnus installation | 2380 | ;; `seen' is private to each gnus installation |
| 2381 | ;; `cache' is a internal gnus flag for each gnus installation | 2381 | ;; `cache' is an internal gnus flag for each gnus installation |
| 2382 | ;; `download' is a agent flag private to each gnus installation | 2382 | ;; `download' is an agent flag private to each gnus installation |
| 2383 | ;; `unsend' are for nndraft groups only | 2383 | ;; `unsend' are for nndraft groups only |
| 2384 | ;; `score' is not a proper mark | 2384 | ;; `score' is not a proper mark |
| 2385 | ;; `bookmark': don't propagated it, or fix the bug in update-mark. | 2385 | ;; `bookmark': don't propagate it, or fix the bug in update-mark. |
| 2386 | (defconst gnus-article-unpropagated-mark-lists | 2386 | (defconst gnus-article-unpropagated-mark-lists |
| 2387 | '(seen cache download unsend score bookmark unexist) | 2387 | '(seen cache download unsend score bookmark unexist) |
| 2388 | "Marks that shouldn't be propagated to back ends. | 2388 | "Marks that shouldn't be propagated to back ends. |
diff --git a/lisp/hexl.el b/lisp/hexl.el index 681a26b6809..d716405f97a 100644 --- a/lisp/hexl.el +++ b/lisp/hexl.el | |||
| @@ -890,7 +890,7 @@ This discards the buffer's undo information." | |||
| 890 | (error "Invalid hex digit `%c'" ch))))) | 890 | (error "Invalid hex digit `%c'" ch))))) |
| 891 | 891 | ||
| 892 | (defun hexl-oct-char-to-integer (character) | 892 | (defun hexl-oct-char-to-integer (character) |
| 893 | "Take a char and return its value as if it was a octal digit." | 893 | "Take a char and return its value as if it was an octal digit." |
| 894 | (if (and (>= character ?0) (<= character ?7)) | 894 | (if (and (>= character ?0) (<= character ?7)) |
| 895 | (- character ?0) | 895 | (- character ?0) |
| 896 | (error "Invalid octal digit `%c'" character))) | 896 | (error "Invalid octal digit `%c'" character))) |
diff --git a/lisp/htmlfontify.el b/lisp/htmlfontify.el index 82c0a89561d..dfa6bde2972 100644 --- a/lisp/htmlfontify.el +++ b/lisp/htmlfontify.el | |||
| @@ -1630,7 +1630,7 @@ TEXT-ID marks a unique position within a block. It is set to | |||
| 1630 | value of `point' at the current buffer position. | 1630 | value of `point' at the current buffer position. |
| 1631 | 1631 | ||
| 1632 | TEXT-BEGINS-BLOCK-P is a boolean and is non-nil if the current | 1632 | TEXT-BEGINS-BLOCK-P is a boolean and is non-nil if the current |
| 1633 | span also begins a invisible portion of text. | 1633 | span also begins an invisible portion of text. |
| 1634 | 1634 | ||
| 1635 | An implementation can use TEXT-BLOCK, TEXT-ID, | 1635 | An implementation can use TEXT-BLOCK, TEXT-ID, |
| 1636 | TEXT-BEGINS-BLOCK-P to implement fold/unfold-on-mouse-click like | 1636 | TEXT-BEGINS-BLOCK-P to implement fold/unfold-on-mouse-click like |
diff --git a/lisp/image/gravatar.el b/lisp/image/gravatar.el index fe44f0dc834..e7c472db1df 100644 --- a/lisp/image/gravatar.el +++ b/lisp/image/gravatar.el | |||
| @@ -60,11 +60,11 @@ | |||
| 60 | "Base URL for getting gravatars.") | 60 | "Base URL for getting gravatars.") |
| 61 | 61 | ||
| 62 | (defun gravatar-hash (mail-address) | 62 | (defun gravatar-hash (mail-address) |
| 63 | "Create an hash from MAIL-ADDRESS." | 63 | "Create a hash from MAIL-ADDRESS." |
| 64 | (md5 (downcase mail-address))) | 64 | (md5 (downcase mail-address))) |
| 65 | 65 | ||
| 66 | (defun gravatar-build-url (mail-address) | 66 | (defun gravatar-build-url (mail-address) |
| 67 | "Return an URL to retrieve MAIL-ADDRESS gravatar." | 67 | "Return a URL to retrieve MAIL-ADDRESS gravatar." |
| 68 | (format "%s/%s?d=404&r=%s&s=%d" | 68 | (format "%s/%s?d=404&r=%s&s=%d" |
| 69 | gravatar-base-url | 69 | gravatar-base-url |
| 70 | (gravatar-hash mail-address) | 70 | (gravatar-hash mail-address) |
diff --git a/lisp/international/fontset.el b/lisp/international/fontset.el index 45eabfcb40f..6f912074517 100644 --- a/lisp/international/fontset.el +++ b/lisp/international/fontset.el | |||
| @@ -823,7 +823,7 @@ | |||
| 823 | '("FreeMono" . "iso10646-1") nil 'prepend) | 823 | '("FreeMono" . "iso10646-1") nil 'prepend) |
| 824 | 824 | ||
| 825 | ;; Since standard-fontset-spec on X uses fixed-medium font, which | 825 | ;; Since standard-fontset-spec on X uses fixed-medium font, which |
| 826 | ;; gets mapped to a iso8859-1 variant, we would like to prefer its | 826 | ;; gets mapped to an iso8859-1 variant, we would like to prefer its |
| 827 | ;; iso10646-1 variant for symbols, where the coverage is known to be | 827 | ;; iso10646-1 variant for symbols, where the coverage is known to be |
| 828 | ;; good. | 828 | ;; good. |
| 829 | (dolist (symbol-subgroup | 829 | (dolist (symbol-subgroup |
diff --git a/lisp/mail/rmailedit.el b/lisp/mail/rmailedit.el index 623a8291245..91aeb4187db 100644 --- a/lisp/mail/rmailedit.el +++ b/lisp/mail/rmailedit.el | |||
| @@ -410,7 +410,7 @@ or else nil to insert it at the beginning. | |||
| 410 | 410 | ||
| 411 | DELETED's elements are elements of OLD-HEADERS. | 411 | DELETED's elements are elements of OLD-HEADERS. |
| 412 | CHANGED's elements have the form (OLD . NEW) | 412 | CHANGED's elements have the form (OLD . NEW) |
| 413 | where OLD is a element of OLD-HEADERS and NEW is an element of NEW-HEADERS." | 413 | where OLD is an element of OLD-HEADERS and NEW is an element of NEW-HEADERS." |
| 414 | 414 | ||
| 415 | (let ((reverse-new (reverse new-headers)) | 415 | (let ((reverse-new (reverse new-headers)) |
| 416 | inserted deleted changed) | 416 | inserted deleted changed) |
diff --git a/lisp/mh-e/mh-e.el b/lisp/mh-e/mh-e.el index 63d7a2973fb..05ff672da52 100644 --- a/lisp/mh-e/mh-e.el +++ b/lisp/mh-e/mh-e.el | |||
| @@ -831,7 +831,7 @@ This assumes that a temporary buffer is set up." | |||
| 831 | (expand-file-name "flists" dir))))))))) | 831 | (expand-file-name "flists" dir))))))))) |
| 832 | 832 | ||
| 833 | (defun mh-file-command-p (file) | 833 | (defun mh-file-command-p (file) |
| 834 | "Return t if file FILE is the name of a executable regular file." | 834 | "Return t if file FILE is the name of an executable regular file." |
| 835 | (and (file-regular-p file) (file-executable-p file))) | 835 | (and (file-regular-p file) (file-executable-p file))) |
| 836 | 836 | ||
| 837 | (defun mh-variant-set-variant (variant) | 837 | (defun mh-variant-set-variant (variant) |
diff --git a/lisp/mh-e/mh-mime.el b/lisp/mh-e/mh-mime.el index 967eb869a25..e2c682a3996 100644 --- a/lisp/mh-e/mh-mime.el +++ b/lisp/mh-e/mh-mime.el | |||
| @@ -1242,7 +1242,7 @@ MESSAGE number." | |||
| 1242 | "message/rfc822" | 1242 | "message/rfc822" |
| 1243 | (if (string= "" description) nil description) | 1243 | (if (string= "" description) nil description) |
| 1244 | "inline")) | 1244 | "inline")) |
| 1245 | (t (error "The message number, %s, is not a integer" msg))))) | 1245 | (t (error "The message number, %s, is not an integer" msg))))) |
| 1246 | 1246 | ||
| 1247 | (defun mh-mh-forward-message (&optional description folder messages) | 1247 | (defun mh-mh-forward-message (&optional description folder messages) |
| 1248 | "Add tag to forward a message. | 1248 | "Add tag to forward a message. |
diff --git a/lisp/mh-e/mh-search.el b/lisp/mh-e/mh-search.el index 3e591c65383..8b8ba964560 100644 --- a/lisp/mh-e/mh-search.el +++ b/lisp/mh-e/mh-search.el | |||
| @@ -443,7 +443,7 @@ search all folders." | |||
| 443 | (setq redo-flag t)) | 443 | (setq redo-flag t)) |
| 444 | ((mh-folder-exists-p new-folder) | 444 | ((mh-folder-exists-p new-folder) |
| 445 | ;; Folder exists but we don't have it open. That means they are | 445 | ;; Folder exists but we don't have it open. That means they are |
| 446 | ;; stale results from a old flists search. Clear it out. | 446 | ;; stale results from an old flists search. Clear it out. |
| 447 | (mh-exec-cmd-quiet nil "rmf" new-folder))) | 447 | (mh-exec-cmd-quiet nil "rmf" new-folder))) |
| 448 | (setq message (mh-search "+" mh-flists-results-folder | 448 | (setq message (mh-search "+" mh-flists-results-folder |
| 449 | redo-flag window-config) | 449 | redo-flag window-config) |
| @@ -1583,7 +1583,7 @@ If the folder returned doesn't exist then it is created." | |||
| 1583 | chosen-name)) | 1583 | chosen-name)) |
| 1584 | 1584 | ||
| 1585 | (defun mh-index-folder-search-regexp (folder) | 1585 | (defun mh-index-folder-search-regexp (folder) |
| 1586 | "If FOLDER was created by a index search, return the search regexp. | 1586 | "If FOLDER was created by an index search, return the search regexp. |
| 1587 | Return nil if FOLDER doesn't exist or the .mhe_index file is | 1587 | Return nil if FOLDER doesn't exist or the .mhe_index file is |
| 1588 | garbled." | 1588 | garbled." |
| 1589 | (ignore-errors | 1589 | (ignore-errors |
| @@ -1912,7 +1912,7 @@ origin-index) map is updated too." | |||
| 1912 | 1912 | ||
| 1913 | (defun mh-index-update-single-msg (msg checksum origin-map) | 1913 | (defun mh-index-update-single-msg (msg checksum origin-map) |
| 1914 | "Update various maps for one message. | 1914 | "Update various maps for one message. |
| 1915 | MSG is a index folder message, CHECKSUM its MD5 hash and | 1915 | MSG is an index folder message, CHECKSUM its MD5 hash and |
| 1916 | ORIGIN-MAP, if non-nil, a hash table containing which maps each | 1916 | ORIGIN-MAP, if non-nil, a hash table containing which maps each |
| 1917 | message in the index folder to the folder and message that it was | 1917 | message in the index folder to the folder and message that it was |
| 1918 | copied from. The function updates the hash tables | 1918 | copied from. The function updates the hash tables |
diff --git a/lisp/net/gnutls.el b/lisp/net/gnutls.el index ea17fb518e2..85c9308c0d2 100644 --- a/lisp/net/gnutls.el +++ b/lisp/net/gnutls.el | |||
| @@ -202,7 +202,7 @@ For the meaning of the rest of the parameters, see `gnutls-boot-parameters'." | |||
| 202 | "boot: %s" params) | 202 | "boot: %s" params) |
| 203 | 203 | ||
| 204 | (when (gnutls-errorp ret) | 204 | (when (gnutls-errorp ret) |
| 205 | ;; This is a error from the underlying C code. | 205 | ;; This is an error from the underlying C code. |
| 206 | (signal 'gnutls-error (list process ret))) | 206 | (signal 'gnutls-error (list process ret))) |
| 207 | 207 | ||
| 208 | process)) | 208 | process)) |
diff --git a/lisp/net/mailcap.el b/lisp/net/mailcap.el index 748fb398933..4ec00450f4e 100644 --- a/lisp/net/mailcap.el +++ b/lisp/net/mailcap.el | |||
| @@ -92,7 +92,7 @@ replaced with the file. | |||
| 92 | MIME-TYPE is a regular expression being matched against the | 92 | MIME-TYPE is a regular expression being matched against the |
| 93 | actual MIME type. It is implicitly surrounded with ^ and $. | 93 | actual MIME type. It is implicitly surrounded with ^ and $. |
| 94 | 94 | ||
| 95 | TEST is an lisp form which is evaluated in order to test if the | 95 | TEST is a lisp form which is evaluated in order to test if the |
| 96 | entry should be chosen. The `test' entry is optional. | 96 | entry should be chosen. The `test' entry is optional. |
| 97 | 97 | ||
| 98 | When selecting a viewer for a given MIME type, the first viewer | 98 | When selecting a viewer for a given MIME type, the first viewer |
| @@ -555,7 +555,7 @@ MAILCAPS if set; otherwise (on Unix) use the path from RFC 1524, plus | |||
| 555 | (defun mailcap-mailcap-entry-passes-test (info) | 555 | (defun mailcap-mailcap-entry-passes-test (info) |
| 556 | "Replace the test clause of INFO itself with a boolean for some cases. | 556 | "Replace the test clause of INFO itself with a boolean for some cases. |
| 557 | This function supports only `test -n $DISPLAY' and `test -z $DISPLAY', | 557 | This function supports only `test -n $DISPLAY' and `test -z $DISPLAY', |
| 558 | replaces them with t or nil. As for others or if INFO has a interactive | 558 | replaces them with t or nil. As for others or if INFO has an interactive |
| 559 | spec (needsterm, needsterminal, or needsx11) but DISPLAY is not set, | 559 | spec (needsterm, needsterminal, or needsx11) but DISPLAY is not set, |
| 560 | the test clause will be unchanged." | 560 | the test clause will be unchanged." |
| 561 | (let ((test (assq 'test info)) ; The test clause | 561 | (let ((test (assq 'test info)) ; The test clause |
diff --git a/lisp/nxml/xsd-regexp.el b/lisp/nxml/xsd-regexp.el index f83dad57510..54f56dded37 100644 --- a/lisp/nxml/xsd-regexp.el +++ b/lisp/nxml/xsd-regexp.el | |||
| @@ -208,7 +208,7 @@ Signal an error if it is not." | |||
| 208 | (nreverse (xsdre-compile-regexp re nil)))) | 208 | (nreverse (xsdre-compile-regexp re nil)))) |
| 209 | 209 | ||
| 210 | (defun xsdre-compile-regexp (re accum) | 210 | (defun xsdre-compile-regexp (re accum) |
| 211 | "Return a Emacs regular expression for the symbolic regexp RE. | 211 | "Return an Emacs regular expression for the symbolic regexp RE. |
| 212 | Returns a list of strings whose head is the regexp for RE | 212 | Returns a list of strings whose head is the regexp for RE |
| 213 | and whose tail is ACCUM." | 213 | and whose tail is ACCUM." |
| 214 | (cond ((not (consp re)) | 214 | (cond ((not (consp re)) |
| @@ -271,7 +271,7 @@ and whose tail is ACCUM." | |||
| 271 | (t (xsdre-compile-char-class re accum)))) | 271 | (t (xsdre-compile-char-class re accum)))) |
| 272 | 272 | ||
| 273 | (defun xsdre-compile-char-class (cc accum) | 273 | (defun xsdre-compile-char-class (cc accum) |
| 274 | "Return a Emacs regular expression for the symbolic character class CC. | 274 | "Return an Emacs regular expression for the symbolic character class CC. |
| 275 | Returns a list of strings whose head is the regexp for CC | 275 | Returns a list of strings whose head is the regexp for CC |
| 276 | and whose tail is ACCUM." | 276 | and whose tail is ACCUM." |
| 277 | (cons (if (integerp cc) | 277 | (cons (if (integerp cc) |
| @@ -450,7 +450,7 @@ LOWER ::= UNICODE | |||
| 450 | UPPER ::= UNICODE | 450 | UPPER ::= UNICODE |
| 451 | SYMBOLIC-CHAR-CLASS ::= SYMBOL | 451 | SYMBOLIC-CHAR-CLASS ::= SYMBOL |
| 452 | 452 | ||
| 453 | where UNICODE is a integer specifying a Unicode code-point and | 453 | where UNICODE is an integer specifying a Unicode code-point and |
| 454 | SYMBOLIC-CHAR-CLASS is a symbol which has either a `xsdre-char-class' | 454 | SYMBOLIC-CHAR-CLASS is a symbol which has either a `xsdre-char-class' |
| 455 | property whose value is a CHAR-CLASS, or a `xsdre-ranges' property | 455 | property whose value is a CHAR-CLASS, or a `xsdre-ranges' property |
| 456 | whose value is a range-list." | 456 | whose value is a range-list." |
diff --git a/lisp/org/ob-calc.el b/lisp/org/ob-calc.el index f491a6cdef9..4ed5dd4be05 100644 --- a/lisp/org/ob-calc.el +++ b/lisp/org/ob-calc.el | |||
| @@ -37,7 +37,7 @@ | |||
| 37 | (declare-function org-trim "org" (s &optional keep-lead)) | 37 | (declare-function org-trim "org" (s &optional keep-lead)) |
| 38 | 38 | ||
| 39 | (defvar org-babel-default-header-args:calc nil | 39 | (defvar org-babel-default-header-args:calc nil |
| 40 | "Default arguments for evaluating an calc source block.") | 40 | "Default arguments for evaluating a calc source block.") |
| 41 | 41 | ||
| 42 | (defun org-babel-expand-body:calc (body _params) | 42 | (defun org-babel-expand-body:calc (body _params) |
| 43 | "Expand BODY according to PARAMS, return the expanded body." body) | 43 | "Expand BODY according to PARAMS, return the expanded body." body) |
diff --git a/lisp/org/ob-core.el b/lisp/org/ob-core.el index 5f378b2173f..0e2e78a6710 100644 --- a/lisp/org/ob-core.el +++ b/lisp/org/ob-core.el | |||
| @@ -363,7 +363,7 @@ a window into the `org-babel-get-src-block-info' function." | |||
| 363 | ;;;###autoload | 363 | ;;;###autoload |
| 364 | (defun org-babel-expand-src-block-maybe () | 364 | (defun org-babel-expand-src-block-maybe () |
| 365 | "Conditionally expand a source block. | 365 | "Conditionally expand a source block. |
| 366 | Detect if this is context for a org-babel src-block and if so | 366 | Detect if this is context for an org-babel src-block and if so |
| 367 | then run `org-babel-expand-src-block'." | 367 | then run `org-babel-expand-src-block'." |
| 368 | (interactive) | 368 | (interactive) |
| 369 | (org-babel-when-in-src-block | 369 | (org-babel-when-in-src-block |
| @@ -372,7 +372,7 @@ then run `org-babel-expand-src-block'." | |||
| 372 | ;;;###autoload | 372 | ;;;###autoload |
| 373 | (defun org-babel-load-in-session-maybe () | 373 | (defun org-babel-load-in-session-maybe () |
| 374 | "Conditionally load a source block in a session. | 374 | "Conditionally load a source block in a session. |
| 375 | Detect if this is context for a org-babel src-block and if so | 375 | Detect if this is context for an org-babel src-block and if so |
| 376 | then run `org-babel-load-in-session'." | 376 | then run `org-babel-load-in-session'." |
| 377 | (interactive) | 377 | (interactive) |
| 378 | (org-babel-when-in-src-block | 378 | (org-babel-when-in-src-block |
| @@ -383,7 +383,7 @@ then run `org-babel-load-in-session'." | |||
| 383 | ;;;###autoload | 383 | ;;;###autoload |
| 384 | (defun org-babel-pop-to-session-maybe () | 384 | (defun org-babel-pop-to-session-maybe () |
| 385 | "Conditionally pop to a session. | 385 | "Conditionally pop to a session. |
| 386 | Detect if this is context for a org-babel src-block and if so | 386 | Detect if this is context for an org-babel src-block and if so |
| 387 | then run `org-babel-switch-to-session'." | 387 | then run `org-babel-switch-to-session'." |
| 388 | (interactive) | 388 | (interactive) |
| 389 | (org-babel-when-in-src-block | 389 | (org-babel-when-in-src-block |
diff --git a/lisp/org/ob-org.el b/lisp/org/ob-org.el index e52283848e4..310aaec3f39 100644 --- a/lisp/org/ob-org.el +++ b/lisp/org/ob-org.el | |||
| @@ -34,7 +34,7 @@ | |||
| 34 | 34 | ||
| 35 | (defvar org-babel-default-header-args:org | 35 | (defvar org-babel-default-header-args:org |
| 36 | '((:results . "raw silent") (:exports . "code")) | 36 | '((:results . "raw silent") (:exports . "code")) |
| 37 | "Default arguments for evaluating a org source block.") | 37 | "Default arguments for evaluating an org source block.") |
| 38 | 38 | ||
| 39 | (defvar org-babel-org-default-header | 39 | (defvar org-babel-org-default-header |
| 40 | "#+TITLE: default empty header\n" | 40 | "#+TITLE: default empty header\n" |
diff --git a/lisp/org/ob-picolisp.el b/lisp/org/ob-picolisp.el index b6dc8986f95..fd129b899b2 100644 --- a/lisp/org/ob-picolisp.el +++ b/lisp/org/ob-picolisp.el | |||
| @@ -35,7 +35,7 @@ | |||
| 35 | ;; (http://picolisp.com/5000/-2.html). PicoLisp is included in some | 35 | ;; (http://picolisp.com/5000/-2.html). PicoLisp is included in some |
| 36 | ;; GNU/Linux Distributions, and can be downloaded here: | 36 | ;; GNU/Linux Distributions, and can be downloaded here: |
| 37 | ;; http://software-lab.de/down.html. It ships with a picolisp-mode and | 37 | ;; http://software-lab.de/down.html. It ships with a picolisp-mode and |
| 38 | ;; a inferior-picolisp-mode for Emacs (to be found in the /lib/el/ | 38 | ;; an inferior-picolisp-mode for Emacs (to be found in the /lib/el/ |
| 39 | ;; directory). | 39 | ;; directory). |
| 40 | 40 | ||
| 41 | ;; Although it might seem more natural to use Emacs Lisp for most | 41 | ;; Although it might seem more natural to use Emacs Lisp for most |
diff --git a/lisp/org/org-clock.el b/lisp/org/org-clock.el index 9bc1f0c06d7..4c5fcc64b0f 100644 --- a/lisp/org/org-clock.el +++ b/lisp/org/org-clock.el | |||
| @@ -1394,7 +1394,7 @@ the default behavior." | |||
| 1394 | ;;;###autoload | 1394 | ;;;###autoload |
| 1395 | (defun org-clock-in-last (&optional arg) | 1395 | (defun org-clock-in-last (&optional arg) |
| 1396 | "Clock in the last closed clocked item. | 1396 | "Clock in the last closed clocked item. |
| 1397 | When already clocking in, send an warning. | 1397 | When already clocking in, send a warning. |
| 1398 | With a universal prefix argument, select the task you want to | 1398 | With a universal prefix argument, select the task you want to |
| 1399 | clock in from the last clocked in tasks. | 1399 | clock in from the last clocked in tasks. |
| 1400 | With two universal prefix arguments, start clocking using the | 1400 | With two universal prefix arguments, start clocking using the |
diff --git a/lisp/org/org-eww.el b/lisp/org/org-eww.el index 0792c87a6a4..3d9dddcac03 100644 --- a/lisp/org/org-eww.el +++ b/lisp/org/org-eww.el | |||
| @@ -25,9 +25,9 @@ | |||
| 25 | ;;; Commentary: | 25 | ;;; Commentary: |
| 26 | 26 | ||
| 27 | ;; When this module is active `org-store-link' (often on key C-c l) in | 27 | ;; When this module is active `org-store-link' (often on key C-c l) in |
| 28 | ;; a eww buffer stores a link to the current url of the eww buffer. | 28 | ;; an EWW buffer stores a link to the current url of the eww buffer. |
| 29 | 29 | ||
| 30 | ;; In an eww buffer function `org-eww-copy-for-org-mode' kills either | 30 | ;; In an EWW buffer function `org-eww-copy-for-org-mode' kills either |
| 31 | ;; a region or the whole buffer if no region is set and transforms the | 31 | ;; a region or the whole buffer if no region is set and transforms the |
| 32 | ;; text on the fly so that it can be pasted into an Org buffer with | 32 | ;; text on the fly so that it can be pasted into an Org buffer with |
| 33 | ;; hot links. | 33 | ;; hot links. |
| @@ -58,7 +58,7 @@ | |||
| 58 | ;; Store Org-link in eww-mode buffer | 58 | ;; Store Org-link in eww-mode buffer |
| 59 | (org-link-set-parameters "eww" :follow #'eww :store #'org-eww-store-link) | 59 | (org-link-set-parameters "eww" :follow #'eww :store #'org-eww-store-link) |
| 60 | (defun org-eww-store-link () | 60 | (defun org-eww-store-link () |
| 61 | "Store a link to the url of a Eww buffer." | 61 | "Store a link to the url of an EWW buffer." |
| 62 | (when (eq major-mode 'eww-mode) | 62 | (when (eq major-mode 'eww-mode) |
| 63 | (org-store-link-props | 63 | (org-store-link-props |
| 64 | :type "eww" | 64 | :type "eww" |
diff --git a/lisp/org/org-protocol.el b/lisp/org/org-protocol.el index 3cbbc78dce5..27c2bb28d0f 100644 --- a/lisp/org/org-protocol.el +++ b/lisp/org/org-protocol.el | |||
| @@ -663,7 +663,7 @@ to deal with new-style links.") | |||
| 663 | ;;; Org specific functions: | 663 | ;;; Org specific functions: |
| 664 | 664 | ||
| 665 | (defun org-protocol-create-for-org () | 665 | (defun org-protocol-create-for-org () |
| 666 | "Create a Org protocol project for the current file's project. | 666 | "Create an Org protocol project for the current file's project. |
| 667 | The visited file needs to be part of a publishing project in | 667 | The visited file needs to be part of a publishing project in |
| 668 | `org-publish-project-alist' for this to work. The function | 668 | `org-publish-project-alist' for this to work. The function |
| 669 | delegates most of the work to `org-protocol-create'." | 669 | delegates most of the work to `org-protocol-create'." |
diff --git a/lisp/org/ox-html.el b/lisp/org/ox-html.el index 06edb821e1a..83f6479bd4a 100644 --- a/lisp/org/ox-html.el +++ b/lisp/org/ox-html.el | |||
| @@ -2697,7 +2697,7 @@ holding contextual information." | |||
| 2697 | 2697 | ||
| 2698 | (defun org-html-format-inlinetask-default-function | 2698 | (defun org-html-format-inlinetask-default-function |
| 2699 | (todo todo-type priority text tags contents info) | 2699 | (todo todo-type priority text tags contents info) |
| 2700 | "Default format function for a inlinetasks. | 2700 | "Default format function for inlinetasks. |
| 2701 | See `org-html-format-inlinetask-function' for details." | 2701 | See `org-html-format-inlinetask-function' for details." |
| 2702 | (format "<div class=\"inlinetask\">\n<b>%s</b>%s\n%s</div>" | 2702 | (format "<div class=\"inlinetask\">\n<b>%s</b>%s\n%s</div>" |
| 2703 | (org-html-format-headline-default-function | 2703 | (org-html-format-headline-default-function |
diff --git a/lisp/org/ox-latex.el b/lisp/org/ox-latex.el index a656e065b94..c32aa298047 100644 --- a/lisp/org/ox-latex.el +++ b/lisp/org/ox-latex.el | |||
| @@ -2125,7 +2125,7 @@ holding contextual information." | |||
| 2125 | 2125 | ||
| 2126 | (defun org-latex-format-inlinetask-default-function | 2126 | (defun org-latex-format-inlinetask-default-function |
| 2127 | (todo _todo-type priority title tags contents _info) | 2127 | (todo _todo-type priority title tags contents _info) |
| 2128 | "Default format function for a inlinetasks. | 2128 | "Default format function for inlinetasks. |
| 2129 | See `org-latex-format-inlinetask-function' for details." | 2129 | See `org-latex-format-inlinetask-function' for details." |
| 2130 | (let ((full-title | 2130 | (let ((full-title |
| 2131 | (concat (when todo (format "\\textbf{\\textsf{\\textsc{%s}}} " todo)) | 2131 | (concat (when todo (format "\\textbf{\\textsf{\\textsc{%s}}} " todo)) |
diff --git a/lisp/org/ox-odt.el b/lisp/org/ox-odt.el index e0c51662d10..cdee568fc81 100644 --- a/lisp/org/ox-odt.el +++ b/lisp/org/ox-odt.el | |||
| @@ -600,8 +600,7 @@ allow document of a given class (irrespective of its source | |||
| 600 | format) to be converted to any of the export formats associated | 600 | format) to be converted to any of the export formats associated |
| 601 | with that class. | 601 | with that class. |
| 602 | 602 | ||
| 603 | See default setting of this variable for an typical | 603 | See default setting of this variable for a typical configuration." |
| 604 | configuration." | ||
| 605 | :group 'org-export-odt | 604 | :group 'org-export-odt |
| 606 | :version "24.1" | 605 | :version "24.1" |
| 607 | :type | 606 | :type |
| @@ -1938,7 +1937,7 @@ holding contextual information." | |||
| 1938 | 1937 | ||
| 1939 | (defun org-odt-format-inlinetask-default-function | 1938 | (defun org-odt-format-inlinetask-default-function |
| 1940 | (todo todo-type priority name tags contents) | 1939 | (todo todo-type priority name tags contents) |
| 1941 | "Default format function for a inlinetasks. | 1940 | "Default format function for inlinetasks. |
| 1942 | See `org-odt-format-inlinetask-function' for details." | 1941 | See `org-odt-format-inlinetask-function' for details." |
| 1943 | (format "\n<text:p text:style-name=\"%s\">%s</text:p>" | 1942 | (format "\n<text:p text:style-name=\"%s\">%s</text:p>" |
| 1944 | "Text_20_body" | 1943 | "Text_20_body" |
diff --git a/lisp/org/ox-texinfo.el b/lisp/org/ox-texinfo.el index fd4235a79df..d877c9c63a2 100644 --- a/lisp/org/ox-texinfo.el +++ b/lisp/org/ox-texinfo.el | |||
| @@ -958,7 +958,7 @@ holding contextual information." | |||
| 958 | 958 | ||
| 959 | (defun org-texinfo-format-inlinetask-default-function | 959 | (defun org-texinfo-format-inlinetask-default-function |
| 960 | (todo _todo-type priority title tags contents) | 960 | (todo _todo-type priority title tags contents) |
| 961 | "Default format function for a inlinetasks. | 961 | "Default format function for inlinetasks. |
| 962 | See `org-texinfo-format-inlinetask-function' for details." | 962 | See `org-texinfo-format-inlinetask-function' for details." |
| 963 | (let ((full-title | 963 | (let ((full-title |
| 964 | (concat (when todo (format "@strong{%s} " todo)) | 964 | (concat (when todo (format "@strong{%s} " todo)) |
diff --git a/lisp/progmodes/ada-mode.el b/lisp/progmodes/ada-mode.el index d09ee52c97b..2d3f6e22a6c 100644 --- a/lisp/progmodes/ada-mode.el +++ b/lisp/progmodes/ada-mode.el | |||
| @@ -2479,7 +2479,7 @@ and the offset." | |||
| 2479 | (forward-word-strictly -1)) | 2479 | (forward-word-strictly -1)) |
| 2480 | 2480 | ||
| 2481 | ;; If there is a parameter list, and we have a function declaration | 2481 | ;; If there is a parameter list, and we have a function declaration |
| 2482 | ;; or a access to subprogram declaration | 2482 | ;; or access to subprogram declaration |
| 2483 | (let ((num-back 1)) | 2483 | (let ((num-back 1)) |
| 2484 | (if (and (= (following-char) ?\() | 2484 | (if (and (= (following-char) ?\() |
| 2485 | (save-excursion | 2485 | (save-excursion |
diff --git a/lisp/progmodes/ada-stmt.el b/lisp/progmodes/ada-stmt.el index 02f7e3954ec..f1ed01e3cc7 100644 --- a/lisp/progmodes/ada-stmt.el +++ b/lisp/progmodes/ada-stmt.el | |||
| @@ -415,13 +415,13 @@ Invoke right after `ada-function-spec' or `ada-procedure-spec'." | |||
| 415 | 415 | ||
| 416 | 416 | ||
| 417 | (define-skeleton ada-entry-family-prompt-discriminant | 417 | (define-skeleton ada-entry-family-prompt-discriminant |
| 418 | "Insert a entry specification, prompting for the entry name." | 418 | "Insert an entry specification, prompting for the entry name." |
| 419 | "[discriminant name]: " | 419 | "[discriminant name]: " |
| 420 | str) | 420 | str) |
| 421 | 421 | ||
| 422 | 422 | ||
| 423 | (define-skeleton ada-entry-family | 423 | (define-skeleton ada-entry-family |
| 424 | "Insert a entry specification, prompting for the entry name." | 424 | "Insert an entry specification, prompting for the entry name." |
| 425 | "[entry name]: " | 425 | "[entry name]: " |
| 426 | "entry " str | 426 | "entry " str |
| 427 | " (" (ada-entry-family-prompt-discriminant) ")" | 427 | " (" (ada-entry-family-prompt-discriminant) ")" |
diff --git a/lisp/progmodes/antlr-mode.el b/lisp/progmodes/antlr-mode.el index 921db6b46d8..1d4fd4f2bce 100644 --- a/lisp/progmodes/antlr-mode.el +++ b/lisp/progmodes/antlr-mode.el | |||
| @@ -1562,7 +1562,7 @@ The search for a correct position is as follows: | |||
| 1562 | 1562 | ||
| 1563 | * If search is within an area where options can be inserted, use the | 1563 | * If search is within an area where options can be inserted, use the |
| 1564 | position of point. Inside the options section and if point is in | 1564 | position of point. Inside the options section and if point is in |
| 1565 | the middle of a option definition, skip the rest of it. | 1565 | the middle of an option definition, skip the rest of it. |
| 1566 | * If an options section already exists, insert the options at the end. | 1566 | * If an options section already exists, insert the options at the end. |
| 1567 | If only the beginning of the area is visible, insert at the | 1567 | If only the beginning of the area is visible, insert at the |
| 1568 | beginning. | 1568 | beginning. |
diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el index be7e86beefc..cddf79b351c 100644 --- a/lisp/progmodes/cc-engine.el +++ b/lisp/progmodes/cc-engine.el | |||
| @@ -3304,7 +3304,7 @@ comment at the start of cc-engine.el for more info." | |||
| 3304 | (point) | 3304 | (point) |
| 3305 | here))) | 3305 | here))) |
| 3306 | pa+1 ; pos just after an opening PAren (or brace). | 3306 | pa+1 ; pos just after an opening PAren (or brace). |
| 3307 | (ren+1 from) ; usually a pos just after an closing paREN etc. | 3307 | (ren+1 from) ; usually a pos just after a closing paREN etc. |
| 3308 | ; Is actually the pos. to scan for a (/{/[ from, | 3308 | ; Is actually the pos. to scan for a (/{/[ from, |
| 3309 | ; which sometimes is after a silly )/}/]. | 3309 | ; which sometimes is after a silly )/}/]. |
| 3310 | paren+1 ; Pos after some opening or closing paren. | 3310 | paren+1 ; Pos after some opening or closing paren. |
| @@ -10345,7 +10345,7 @@ comment at the start of cc-engine.el for more info." | |||
| 10345 | b-pos))) | 10345 | b-pos))) |
| 10346 | 10346 | ||
| 10347 | (defun c-backward-typed-enum-colon () | 10347 | (defun c-backward-typed-enum-colon () |
| 10348 | ;; We're at a "{" which might be the opening brace of a enum which is | 10348 | ;; We're at a "{" which might be the opening brace of an enum which is |
| 10349 | ;; strongly typed (by a ":" followed by a type). If this is the case, leave | 10349 | ;; strongly typed (by a ":" followed by a type). If this is the case, leave |
| 10350 | ;; point before the colon and return t. Otherwise leave point unchanged and return nil. | 10350 | ;; point before the colon and return t. Otherwise leave point unchanged and return nil. |
| 10351 | ;; Match data will be clobbered. | 10351 | ;; Match data will be clobbered. |
diff --git a/lisp/progmodes/cc-menus.el b/lisp/progmodes/cc-menus.el index ae7759ef451..a42fe27b96c 100644 --- a/lisp/progmodes/cc-menus.el +++ b/lisp/progmodes/cc-menus.el | |||
| @@ -360,7 +360,7 @@ Example: | |||
| 360 | (setq char (aref method p) | 360 | (setq char (aref method p) |
| 361 | p (1+ p)) | 361 | p (1+ p)) |
| 362 | (cond | 362 | (cond |
| 363 | ;; Is CHAR part of a objc token? | 363 | ;; Is CHAR part of an objc token? |
| 364 | ((and (not inargvar) ; Ignore if CHAR is part of an argument variable. | 364 | ((and (not inargvar) ; Ignore if CHAR is part of an argument variable. |
| 365 | (eq 0 betweenparen) ; Ignore if CHAR is in parentheses. | 365 | (eq 0 betweenparen) ; Ignore if CHAR is in parentheses. |
| 366 | (or (and (<= ?a char) (<= char ?z)) | 366 | (or (and (<= ?a char) (<= char ?z)) |
diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el index 2ce3d962257..664f01012b8 100644 --- a/lisp/progmodes/cc-mode.el +++ b/lisp/progmodes/cc-mode.el | |||
| @@ -622,7 +622,7 @@ that requires a literal mode spec at compile time." | |||
| 622 | ;; buffer local value has its own alist structure. | 622 | ;; buffer local value has its own alist structure. |
| 623 | (setq c-offsets-alist (copy-alist c-offsets-alist)) | 623 | (setq c-offsets-alist (copy-alist c-offsets-alist)) |
| 624 | 624 | ||
| 625 | ;; setup the comment indent variable in a Emacs version portable way | 625 | ;; setup the comment indent variable in an Emacs version portable way |
| 626 | (set (make-local-variable 'comment-indent-function) 'c-comment-indent) | 626 | (set (make-local-variable 'comment-indent-function) 'c-comment-indent) |
| 627 | ;; What sort of comments are default for M-;? | 627 | ;; What sort of comments are default for M-;? |
| 628 | (setq c-block-comment-flag c-block-comment-is-default) | 628 | (setq c-block-comment-flag c-block-comment-is-default) |
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 92e202a0258..422974379ba 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -919,7 +919,7 @@ from a different message." | |||
| 919 | 919 | ||
| 920 | ;; COLUMN and LINE are numbers parsed from an error message. COLUMN and maybe | 920 | ;; COLUMN and LINE are numbers parsed from an error message. COLUMN and maybe |
| 921 | ;; LINE will be nil for a message that doesn't contain them. Then the | 921 | ;; LINE will be nil for a message that doesn't contain them. Then the |
| 922 | ;; location refers to a indented beginning of line or beginning of file. | 922 | ;; location refers to an indented beginning of line or beginning of file. |
| 923 | ;; Once any location in some file has been jumped to, the list is extended to | 923 | ;; Once any location in some file has been jumped to, the list is extended to |
| 924 | ;; (COLUMN LINE FILE-STRUCTURE MARKER TIMESTAMP . VISITED) | 924 | ;; (COLUMN LINE FILE-STRUCTURE MARKER TIMESTAMP . VISITED) |
| 925 | ;; for all LOCs pertaining to that file. | 925 | ;; for all LOCs pertaining to that file. |
diff --git a/lisp/progmodes/icon.el b/lisp/progmodes/icon.el index 68bff26902a..6e02392c154 100644 --- a/lisp/progmodes/icon.el +++ b/lisp/progmodes/icon.el | |||
| @@ -90,7 +90,7 @@ | |||
| 90 | :group 'icon) | 90 | :group 'icon) |
| 91 | 91 | ||
| 92 | (defcustom icon-brace-imaginary-offset 0 | 92 | (defcustom icon-brace-imaginary-offset 0 |
| 93 | "Imagined indentation of a Icon open brace that actually follows a statement." | 93 | "Imagined indentation of an Icon open brace that actually follows a statement." |
| 94 | :type 'integer | 94 | :type 'integer |
| 95 | :group 'icon) | 95 | :group 'icon) |
| 96 | 96 | ||
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 8ff7a300d48..530eb2fb95e 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -422,7 +422,7 @@ | |||
| 422 | (string-delimiter . ,(rx (and | 422 | (string-delimiter . ,(rx (and |
| 423 | ;; Match even number of backslashes. | 423 | ;; Match even number of backslashes. |
| 424 | (or (not (any ?\\ ?\' ?\")) point | 424 | (or (not (any ?\\ ?\' ?\")) point |
| 425 | ;; Quotes might be preceded by a escaped quote. | 425 | ;; Quotes might be preceded by an escaped quote. |
| 426 | (and (or (not (any ?\\)) point) ?\\ | 426 | (and (or (not (any ?\\)) point) ?\\ |
| 427 | (* ?\\ ?\\) (any ?\' ?\"))) | 427 | (* ?\\ ?\\) (any ?\' ?\"))) |
| 428 | (* ?\\ ?\\) | 428 | (* ?\\ ?\\) |
| @@ -925,7 +925,7 @@ keyword | |||
| 925 | (back-to-indentation) | 925 | (back-to-indentation) |
| 926 | (python-syntax-closing-paren-p)) | 926 | (python-syntax-closing-paren-p)) |
| 927 | (cons :inside-paren-at-closing-nested-paren start)) | 927 | (cons :inside-paren-at-closing-nested-paren start)) |
| 928 | ;; This line starts from a opening block in its own line. | 928 | ;; This line starts from an opening block in its own line. |
| 929 | ((save-excursion | 929 | ((save-excursion |
| 930 | (goto-char start) | 930 | (goto-char start) |
| 931 | (when (and | 931 | (when (and |
| @@ -1641,7 +1641,7 @@ ARG move forward only one sexp, else move backwards." | |||
| 1641 | 1641 | ||
| 1642 | (defun python-nav--lisp-forward-sexp-safe (&optional arg) | 1642 | (defun python-nav--lisp-forward-sexp-safe (&optional arg) |
| 1643 | "Safe version of standard `forward-sexp'. | 1643 | "Safe version of standard `forward-sexp'. |
| 1644 | When at end of sexp (i.e. looking at a opening/closing paren) | 1644 | When at end of sexp (i.e. looking at an opening/closing paren) |
| 1645 | skips it instead of throwing an error. With positive ARG move | 1645 | skips it instead of throwing an error. With positive ARG move |
| 1646 | forward only one sexp, else move backwards." | 1646 | forward only one sexp, else move backwards." |
| 1647 | (let* ((arg (if (or (not arg) (> arg 0)) 1 -1)) | 1647 | (let* ((arg (if (or (not arg) (> arg 0)) 1 -1)) |
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index 1b9e10af29a..aaa86b5816f 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el | |||
| @@ -3019,7 +3019,7 @@ If INFO is supplied it is used, else it is calculated." | |||
| 3019 | ;; line -- it is the PREVIOUS line which is continued, not the one | 3019 | ;; line -- it is the PREVIOUS line which is continued, not the one |
| 3020 | ;; we are going to! | 3020 | ;; we are going to! |
| 3021 | ;; Also, we want to treat a whole "here document" as one big line, | 3021 | ;; Also, we want to treat a whole "here document" as one big line, |
| 3022 | ;; because we may want to a align to the beginning of it. | 3022 | ;; because we may want to align to the beginning of it. |
| 3023 | ;; | 3023 | ;; |
| 3024 | ;; What we do: | 3024 | ;; What we do: |
| 3025 | ;; - go back to previous non-empty line | 3025 | ;; - go back to previous non-empty line |
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el index 7bc3a5a2f7a..d20c579f660 100644 --- a/lisp/progmodes/sql.el +++ b/lisp/progmodes/sql.el | |||
| @@ -2774,7 +2774,7 @@ local variable." | |||
| 2774 | 2774 | ||
| 2775 | ;; Our start must be between them | 2775 | ;; Our start must be between them |
| 2776 | (goto-char last) | 2776 | (goto-char last) |
| 2777 | ;; Find an beginning-of-stmt that's not in a comment | 2777 | ;; Find a beginning-of-stmt that's not in a comment |
| 2778 | (while (and (re-search-forward regexp next t 1) | 2778 | (while (and (re-search-forward regexp next t 1) |
| 2779 | (nth 7 (syntax-ppss))) | 2779 | (nth 7 (syntax-ppss))) |
| 2780 | (goto-char (match-end 0))) | 2780 | (goto-char (match-end 0))) |
| @@ -4225,7 +4225,7 @@ the call to \\[sql-product-interactive] with | |||
| 4225 | (symbolp product)) product) | 4225 | (symbolp product)) product) |
| 4226 | (t sql-product))) ; Default to sql-product | 4226 | (t sql-product))) ; Default to sql-product |
| 4227 | 4227 | ||
| 4228 | ;; If we have a product and it has a interactive mode | 4228 | ;; If we have a product and it has an interactive mode |
| 4229 | (if product | 4229 | (if product |
| 4230 | (when (sql-get-product-feature product :sqli-comint-func) | 4230 | (when (sql-get-product-feature product :sqli-comint-func) |
| 4231 | ;; If no new name specified, try to pop to an active SQL | 4231 | ;; If no new name specified, try to pop to an active SQL |
diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el index db29435bff9..a841f87f3c3 100644 --- a/lisp/progmodes/vhdl-mode.el +++ b/lisp/progmodes/vhdl-mode.el | |||
| @@ -4890,7 +4890,7 @@ Key bindings: | |||
| 4890 | (set (make-local-variable 'indent-tabs-mode) vhdl-indent-tabs-mode) | 4890 | (set (make-local-variable 'indent-tabs-mode) vhdl-indent-tabs-mode) |
| 4891 | (set (make-local-variable 'hippie-expand-verbose) nil) | 4891 | (set (make-local-variable 'hippie-expand-verbose) nil) |
| 4892 | 4892 | ||
| 4893 | ;; setup the comment indent variable in a Emacs version portable way | 4893 | ;; setup the comment indent variable in an Emacs version portable way |
| 4894 | ;; ignore any byte compiler warnings you might get here | 4894 | ;; ignore any byte compiler warnings you might get here |
| 4895 | (when (boundp 'comment-indent-function) | 4895 | (when (boundp 'comment-indent-function) |
| 4896 | (set (make-local-variable 'comment-indent-function) 'vhdl-comment-indent)) | 4896 | (set (make-local-variable 'comment-indent-function) 'vhdl-comment-indent)) |
diff --git a/lisp/tempo.el b/lisp/tempo.el index 6c395582901..5d4dea5325a 100644 --- a/lisp/tempo.el +++ b/lisp/tempo.el | |||
| @@ -154,7 +154,7 @@ setting it to (upcase), for example.") | |||
| 154 | 154 | ||
| 155 | (defvar tempo-local-tags '((tempo-tags . nil)) | 155 | (defvar tempo-local-tags '((tempo-tags . nil)) |
| 156 | "A list of locally installed tag completion lists. | 156 | "A list of locally installed tag completion lists. |
| 157 | It is a association list where the car of every element is a symbol | 157 | It is an association list where the car of every element is a symbol |
| 158 | whose variable value is a template list. The cdr part, if non-nil, | 158 | whose variable value is a template list. The cdr part, if non-nil, |
| 159 | is a function or a regexp that defines the string to match. See the | 159 | is a function or a regexp that defines the string to match. See the |
| 160 | documentation for the function `tempo-complete-tag' for more info. | 160 | documentation for the function `tempo-complete-tag' for more info. |
diff --git a/lisp/term/README b/lisp/term/README index d5453e1a8a7..4ab1a4300db 100644 --- a/lisp/term/README +++ b/lisp/term/README | |||
| @@ -60,7 +60,7 @@ they'll frustrate you after you've forgotten about them. | |||
| 60 | For another, the X keysyms provide a standard set of names that Emacs knows | 60 | For another, the X keysyms provide a standard set of names that Emacs knows |
| 61 | about. It tries to bind many of them to useful things at startup, before your | 61 | about. It tries to bind many of them to useful things at startup, before your |
| 62 | .emacs is read (so you can override them). In some ways, the X keysym standard | 62 | .emacs is read (so you can override them). In some ways, the X keysym standard |
| 63 | is a admittedly poor one; it's incomplete, and not well matched to the set of | 63 | is an admittedly poor one; it's incomplete, and not well matched to the set of |
| 64 | 'virtual keys' that UNIX terminfo(3) provides. But, trust us, the alternatives | 64 | 'virtual keys' that UNIX terminfo(3) provides. But, trust us, the alternatives |
| 65 | were worse. | 65 | were worse. |
| 66 | 66 | ||
diff --git a/lisp/textmodes/artist.el b/lisp/textmodes/artist.el index 73419072536..af7bcc77cdf 100644 --- a/lisp/textmodes/artist.el +++ b/lisp/textmodes/artist.el | |||
| @@ -1025,78 +1025,78 @@ If DRAW-HOW is `artist-do-poly': | |||
| 1025 | 1025 | ||
| 1026 | (defsubst artist-go-get-keyword (info-variant-part) | 1026 | (defsubst artist-go-get-keyword (info-variant-part) |
| 1027 | "Retrieve the keyword component from an INFO-VARIANT-PART. | 1027 | "Retrieve the keyword component from an INFO-VARIANT-PART. |
| 1028 | An INFO-VARIANT-PART is the shifted or unshifted info from a info-part." | 1028 | An INFO-VARIANT-PART is the shifted or unshifted info from an info-part." |
| 1029 | (elt info-variant-part 0)) | 1029 | (elt info-variant-part 0)) |
| 1030 | 1030 | ||
| 1031 | (defsubst artist-go-get-symbol (info-variant-part) | 1031 | (defsubst artist-go-get-symbol (info-variant-part) |
| 1032 | "Retrieve the symbol component from an INFO-VARIANT-PART. | 1032 | "Retrieve the symbol component from an INFO-VARIANT-PART. |
| 1033 | An INFO-VARIANT-PART is the shifted or unshifted info from a info-part." | 1033 | An INFO-VARIANT-PART is the shifted or unshifted info from an info-part." |
| 1034 | (elt info-variant-part 1)) | 1034 | (elt info-variant-part 1)) |
| 1035 | 1035 | ||
| 1036 | (defsubst artist-go-get-mode-line (info-variant-part) | 1036 | (defsubst artist-go-get-mode-line (info-variant-part) |
| 1037 | "Retrieve the mode line component from an INFO-VARIANT-PART. | 1037 | "Retrieve the mode line component from an INFO-VARIANT-PART. |
| 1038 | An INFO-VARIANT-PART is the shifted or unshifted info from a info-part." | 1038 | An INFO-VARIANT-PART is the shifted or unshifted info from an info-part." |
| 1039 | (elt info-variant-part 2)) | 1039 | (elt info-variant-part 2)) |
| 1040 | 1040 | ||
| 1041 | (defsubst artist-go-get-arrow-pred (info-variant-part) | 1041 | (defsubst artist-go-get-arrow-pred (info-variant-part) |
| 1042 | "Retrieve the arrow predicate component from an INFO-VARIANT-PART. | 1042 | "Retrieve the arrow predicate component from an INFO-VARIANT-PART. |
| 1043 | An INFO-VARIANT-PART is the shifted or unshifted info from a info-part." | 1043 | An INFO-VARIANT-PART is the shifted or unshifted info from an info-part." |
| 1044 | (elt info-variant-part 3)) | 1044 | (elt info-variant-part 3)) |
| 1045 | 1045 | ||
| 1046 | (defsubst artist-go-get-arrow-set-fn (info-variant-part) | 1046 | (defsubst artist-go-get-arrow-set-fn (info-variant-part) |
| 1047 | "Retrieve the arrow set component from an INFO-VARIANT-PART. | 1047 | "Retrieve the arrow set component from an INFO-VARIANT-PART. |
| 1048 | An INFO-VARIANT-PART is the shifted or unshifted info from a info-part." | 1048 | An INFO-VARIANT-PART is the shifted or unshifted info from an info-part." |
| 1049 | (elt info-variant-part 4)) | 1049 | (elt info-variant-part 4)) |
| 1050 | 1050 | ||
| 1051 | (defsubst artist-go-get-init-fn (info-variant-part) | 1051 | (defsubst artist-go-get-init-fn (info-variant-part) |
| 1052 | "Retrieve the init function component from an INFO-VARIANT-PART. | 1052 | "Retrieve the init function component from an INFO-VARIANT-PART. |
| 1053 | An INFO-VARIANT-PART is the shifted or unshifted info from a info-part." | 1053 | An INFO-VARIANT-PART is the shifted or unshifted info from an info-part." |
| 1054 | (elt info-variant-part 5)) | 1054 | (elt info-variant-part 5)) |
| 1055 | 1055 | ||
| 1056 | (defsubst artist-go-get-prep-fill-fn (info-variant-part) | 1056 | (defsubst artist-go-get-prep-fill-fn (info-variant-part) |
| 1057 | "Retrieve the fill preparation function component from an INFO-VARIANT-PART. | 1057 | "Retrieve the fill preparation function component from an INFO-VARIANT-PART. |
| 1058 | An INFO-VARIANT-PART is the shifted or unshifted info from a info-part." | 1058 | An INFO-VARIANT-PART is the shifted or unshifted info from an info-part." |
| 1059 | (elt info-variant-part 6)) | 1059 | (elt info-variant-part 6)) |
| 1060 | 1060 | ||
| 1061 | (defsubst artist-go-get-exit-fn (info-variant-part) | 1061 | (defsubst artist-go-get-exit-fn (info-variant-part) |
| 1062 | "Retrieve the exit component from an INFO-VARIANT-PART. | 1062 | "Retrieve the exit component from an INFO-VARIANT-PART. |
| 1063 | An INFO-VARIANT-PART is the shifted or unshifted info from a info-part." | 1063 | An INFO-VARIANT-PART is the shifted or unshifted info from an info-part." |
| 1064 | (elt info-variant-part 7)) | 1064 | (elt info-variant-part 7)) |
| 1065 | 1065 | ||
| 1066 | (defsubst artist-go-get-draw-how (info-variant-part) | 1066 | (defsubst artist-go-get-draw-how (info-variant-part) |
| 1067 | "Retrieve the draw how component from an INFO-VARIANT-PART. | 1067 | "Retrieve the draw how component from an INFO-VARIANT-PART. |
| 1068 | An INFO-VARIANT-PART is the shifted or unshifted info from a info-part." | 1068 | An INFO-VARIANT-PART is the shifted or unshifted info from an info-part." |
| 1069 | (elt info-variant-part 8)) | 1069 | (elt info-variant-part 8)) |
| 1070 | 1070 | ||
| 1071 | (defsubst artist-go-get-draw-fn (info-variant-part) | 1071 | (defsubst artist-go-get-draw-fn (info-variant-part) |
| 1072 | "Retrieve the draw function component from an INFO-VARIANT-PART. | 1072 | "Retrieve the draw function component from an INFO-VARIANT-PART. |
| 1073 | An INFO-VARIANT-PART is the shifted or unshifted info from a info-part." | 1073 | An INFO-VARIANT-PART is the shifted or unshifted info from an info-part." |
| 1074 | (elt info-variant-part 9)) | 1074 | (elt info-variant-part 9)) |
| 1075 | 1075 | ||
| 1076 | (defsubst artist-go-get-undraw-fn (info-variant-part) | 1076 | (defsubst artist-go-get-undraw-fn (info-variant-part) |
| 1077 | "Retrieve the undraw function component from an INFO-VARIANT-PART. | 1077 | "Retrieve the undraw function component from an INFO-VARIANT-PART. |
| 1078 | An INFO-VARIANT-PART is the shifted or unshifted info from a info-part. | 1078 | An INFO-VARIANT-PART is the shifted or unshifted info from an info-part. |
| 1079 | This interval function component is available only if the `draw-how' | 1079 | This interval function component is available only if the `draw-how' |
| 1080 | component is other than `artist-do-continously' or 1." | 1080 | component is other than `artist-do-continously' or 1." |
| 1081 | (elt (elt info-variant-part 10) 0)) | 1081 | (elt (elt info-variant-part 10) 0)) |
| 1082 | 1082 | ||
| 1083 | (defsubst artist-go-get-interval-fn (info-variant-part) | 1083 | (defsubst artist-go-get-interval-fn (info-variant-part) |
| 1084 | "Retrieve the interval function component from an INFO-VARIANT-PART. | 1084 | "Retrieve the interval function component from an INFO-VARIANT-PART. |
| 1085 | An INFO-VARIANT-PART is the shifted or unshifted info from a info-part. | 1085 | An INFO-VARIANT-PART is the shifted or unshifted info from an info-part. |
| 1086 | This interval function component is available only if the `draw-how' | 1086 | This interval function component is available only if the `draw-how' |
| 1087 | component is `artist-do-continously'." | 1087 | component is `artist-do-continously'." |
| 1088 | (elt (elt info-variant-part 10) 0)) | 1088 | (elt (elt info-variant-part 10) 0)) |
| 1089 | 1089 | ||
| 1090 | (defsubst artist-go-get-fill-pred (info-variant-part) | 1090 | (defsubst artist-go-get-fill-pred (info-variant-part) |
| 1091 | "Retrieve the fill predicate component from an INFO-VARIANT-PART. | 1091 | "Retrieve the fill predicate component from an INFO-VARIANT-PART. |
| 1092 | An INFO-VARIANT-PART is the shifted or unshifted info from a info-part. | 1092 | An INFO-VARIANT-PART is the shifted or unshifted info from an info-part. |
| 1093 | This interval function component is available only if the `draw-how' | 1093 | This interval function component is available only if the `draw-how' |
| 1094 | component is other than `artist-do-continously' or 1." | 1094 | component is other than `artist-do-continously' or 1." |
| 1095 | (elt (elt info-variant-part 10) 1)) | 1095 | (elt (elt info-variant-part 10) 1)) |
| 1096 | 1096 | ||
| 1097 | (defsubst artist-go-get-fill-fn (info-variant-part) | 1097 | (defsubst artist-go-get-fill-fn (info-variant-part) |
| 1098 | "Retrieve the fill function component from an INFO-VARIANT-PART. | 1098 | "Retrieve the fill function component from an INFO-VARIANT-PART. |
| 1099 | An INFO-VARIANT-PART is the shifted or unshifted info from a info-part. | 1099 | An INFO-VARIANT-PART is the shifted or unshifted info from an info-part. |
| 1100 | This interval function component is available only if the `draw-how' | 1100 | This interval function component is available only if the `draw-how' |
| 1101 | component is other than `artist-do-continously' or 1." | 1101 | component is other than `artist-do-continously' or 1." |
| 1102 | (elt (elt info-variant-part 10) 2)) | 1102 | (elt (elt info-variant-part 10) 2)) |
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el index 353d4352f60..5568bbb1d97 100644 --- a/lisp/textmodes/flyspell.el +++ b/lisp/textmodes/flyspell.el | |||
| @@ -1732,7 +1732,7 @@ FLYSPELL-BUFFER." | |||
| 1732 | ;;*---------------------------------------------------------------------*/ | 1732 | ;;*---------------------------------------------------------------------*/ |
| 1733 | ;;* flyspell-properties-at-p ... */ | 1733 | ;;* flyspell-properties-at-p ... */ |
| 1734 | ;;* ------------------------------------------------------------- */ | 1734 | ;;* ------------------------------------------------------------- */ |
| 1735 | ;;* Is there an highlight properties at position pos? */ | 1735 | ;;* Is there a highlight property at position pos? */ |
| 1736 | ;;*---------------------------------------------------------------------*/ | 1736 | ;;*---------------------------------------------------------------------*/ |
| 1737 | (defun flyspell-properties-at-p (pos) | 1737 | (defun flyspell-properties-at-p (pos) |
| 1738 | "Return t if there is a text property at POS, not counting `local-map'. | 1738 | "Return t if there is a text property at POS, not counting `local-map'. |
diff --git a/lisp/textmodes/reftex-vars.el b/lisp/textmodes/reftex-vars.el index 6d253f1c205..01ee4f5fa4d 100644 --- a/lisp/textmodes/reftex-vars.el +++ b/lisp/textmodes/reftex-vars.el | |||
| @@ -1405,7 +1405,7 @@ the text, so that the text has to be repeated outside the index macro. | |||
| 1405 | Needed for `reftex-index-selection-or-word' and for indexing from the | 1405 | Needed for `reftex-index-selection-or-word' and for indexing from the |
| 1406 | phrase buffer. | 1406 | phrase buffer. |
| 1407 | 1407 | ||
| 1408 | The final entry may also be a symbol if this entry has a association | 1408 | The final entry may also be a symbol if this entry has an association |
| 1409 | in the variable `reftex-index-macros-builtin' to specify the main | 1409 | in the variable `reftex-index-macros-builtin' to specify the main |
| 1410 | indexing package you are using. Valid values are currently | 1410 | indexing package you are using. Valid values are currently |
| 1411 | default The LaTeX default - unnecessary to specify this one | 1411 | default The LaTeX default - unnecessary to specify this one |
diff --git a/lisp/textmodes/rst.el b/lisp/textmodes/rst.el index c93e4e474cb..48c01289347 100644 --- a/lisp/textmodes/rst.el +++ b/lisp/textmodes/rst.el | |||
| @@ -631,7 +631,7 @@ After interpretation of ARGS the results are concatenated as for | |||
| 631 | &aux | 631 | &aux |
| 632 | (char (rst-Ado--validate-char char-arg)) | 632 | (char (rst-Ado--validate-char char-arg)) |
| 633 | (-style 'simple))) | 633 | (-style 'simple))) |
| 634 | ;; Construct a over-and-under section header. | 634 | ;; Construct an over-and-under section header. |
| 635 | (:constructor | 635 | (:constructor |
| 636 | rst-Ado-new-over-and-under | 636 | rst-Ado-new-over-and-under |
| 637 | (char-arg | 637 | (char-arg |
| @@ -696,7 +696,7 @@ Return CHAR if so or signal an error otherwise." | |||
| 696 | 696 | ||
| 697 | (defun rst-Ado-is-over-and-under (self) | 697 | (defun rst-Ado-is-over-and-under (self) |
| 698 | ;; testcover: ok. | 698 | ;; testcover: ok. |
| 699 | "Return non-nil if SELF is a over-and-under section adornment." | 699 | "Return non-nil if SELF is an over-and-under section adornment." |
| 700 | (cl-check-type self rst-Ado) | 700 | (cl-check-type self rst-Ado) |
| 701 | (eq (rst-Ado--style self) 'over-and-under)) | 701 | (eq (rst-Ado--style self) 'over-and-under)) |
| 702 | 702 | ||
| @@ -834,7 +834,7 @@ Return ADO if so or signal an error otherwise." | |||
| 834 | 834 | ||
| 835 | (defun rst-Hdr-is-over-and-under (self) | 835 | (defun rst-Hdr-is-over-and-under (self) |
| 836 | ;; testcover: ok. | 836 | ;; testcover: ok. |
| 837 | "Return non-nil if SELF is a over-and-under section header." | 837 | "Return non-nil if SELF is an over-and-under section header." |
| 838 | (cl-check-type self rst-Hdr) | 838 | (cl-check-type self rst-Hdr) |
| 839 | (rst-Ado-is-over-and-under (rst-Hdr-ado self))) | 839 | (rst-Ado-is-over-and-under (rst-Hdr-ado self))) |
| 840 | 840 | ||
| @@ -937,7 +937,7 @@ This type is immutable." | |||
| 937 | (or (null und-beg) (integer-or-marker-p und-beg)) | 937 | (or (null und-beg) (integer-or-marker-p und-beg)) |
| 938 | (or (null und-end) (integer-or-marker-p und-end))) | 938 | (or (null und-end) (integer-or-marker-p und-end))) |
| 939 | (signal 'args-out-of-range | 939 | (signal 'args-out-of-range |
| 940 | '("For a over-and-under section adornment all match pairs must be set.")))))) | 940 | '("For an over-and-under section adornment all match pairs must be set.")))))) |
| 941 | match) | 941 | match) |
| 942 | 942 | ||
| 943 | (defun rst-Ttl--validate-indent (indent ado) | 943 | (defun rst-Ttl--validate-indent (indent ado) |
| @@ -1224,7 +1224,7 @@ as well but give an additional message." | |||
| 1224 | ;; Makes paragraphs in region as a bullet list. | 1224 | ;; Makes paragraphs in region as a bullet list. |
| 1225 | (rst-define-key map [?\C-c ?\C-l ?\C-b] #'rst-bullet-list-region | 1225 | (rst-define-key map [?\C-c ?\C-l ?\C-b] #'rst-bullet-list-region |
| 1226 | [?\C-c ?\C-b]) | 1226 | [?\C-c ?\C-b]) |
| 1227 | ;; Makes paragraphs in region as a enumeration. | 1227 | ;; Makes paragraphs in region an enumeration. |
| 1228 | (rst-define-key map [?\C-c ?\C-l ?\C-e] #'rst-enumerate-region | 1228 | (rst-define-key map [?\C-c ?\C-l ?\C-e] #'rst-enumerate-region |
| 1229 | [?\C-c ?\C-e]) | 1229 | [?\C-c ?\C-e]) |
| 1230 | ;; Converts bullets to an enumeration. | 1230 | ;; Converts bullets to an enumeration. |
| @@ -1529,7 +1529,7 @@ file." | |||
| 1529 | (defcustom rst-default-indent 1 | 1529 | (defcustom rst-default-indent 1 |
| 1530 | "Number of characters to indent the section title. | 1530 | "Number of characters to indent the section title. |
| 1531 | This is only used while toggling adornment styles when switching | 1531 | This is only used while toggling adornment styles when switching |
| 1532 | from a simple adornment style to a over-and-under adornment | 1532 | from a simple adornment style to an over-and-under adornment |
| 1533 | style. In addition this is used in cases where the adornments | 1533 | style. In addition this is used in cases where the adornments |
| 1534 | found in the buffer are to be used but the indentation for | 1534 | found in the buffer are to be used but the indentation for |
| 1535 | over-and-under adornments is inconsistent across the buffer." | 1535 | over-and-under adornments is inconsistent across the buffer." |
diff --git a/lisp/thumbs.el b/lisp/thumbs.el index 7aaed28a2a2..26c9935429f 100644 --- a/lisp/thumbs.el +++ b/lisp/thumbs.el | |||
| @@ -48,7 +48,7 @@ | |||
| 48 | ;; That should be a directory containing image files. | 48 | ;; That should be a directory containing image files. |
| 49 | ;; from dired, C-t m enter in thumbs-mode with all marked files | 49 | ;; from dired, C-t m enter in thumbs-mode with all marked files |
| 50 | ;; C-t a enter in thumbs-mode with all files in current-directory | 50 | ;; C-t a enter in thumbs-mode with all files in current-directory |
| 51 | ;; In thumbs-mode, pressing <return> on a image will bring you in image view | 51 | ;; In thumbs-mode, pressing <return> on an image will bring you in image view |
| 52 | ;; mode for that image. C-h m will give you a list of available keybinding. | 52 | ;; mode for that image. C-h m will give you a list of available keybinding. |
| 53 | 53 | ||
| 54 | ;;; History: | 54 | ;;; History: |
diff --git a/lisp/vc/add-log.el b/lisp/vc/add-log.el index ea2e8ec874a..bc2be4aadb4 100644 --- a/lisp/vc/add-log.el +++ b/lisp/vc/add-log.el | |||
| @@ -1163,7 +1163,7 @@ Has a preference of looking backwards." | |||
| 1163 | (goto-char (match-end 0))) | 1163 | (goto-char (match-end 0))) |
| 1164 | 1164 | ||
| 1165 | (defun change-log-get-method-definition () | 1165 | (defun change-log-get-method-definition () |
| 1166 | "For Objective C, return the method name if we are in a method." | 1166 | "For Objective C, return the method name if we are in a method." |
| 1167 | (let ((change-log-get-method-definition-md "[")) | 1167 | (let ((change-log-get-method-definition-md "[")) |
| 1168 | (save-excursion | 1168 | (save-excursion |
| 1169 | (if (re-search-backward "^@implementation\\s-*\\([A-Za-z_]*\\)" nil t) | 1169 | (if (re-search-backward "^@implementation\\s-*\\([A-Za-z_]*\\)" nil t) |
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index 9274714cc60..26af99805d0 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el | |||
| @@ -227,7 +227,7 @@ Should be consistent with the Git config value i18n.logOutputEncoding." | |||
| 227 | (concat name "\0")))))))) | 227 | (concat name "\0")))))))) |
| 228 | 228 | ||
| 229 | (defun vc-git--state-code (code) | 229 | (defun vc-git--state-code (code) |
| 230 | "Convert from a string to a added/deleted/modified state." | 230 | "Convert from a string to an added/deleted/modified state." |
| 231 | (pcase (string-to-char code) | 231 | (pcase (string-to-char code) |
| 232 | (?M 'edited) | 232 | (?M 'edited) |
| 233 | (?A 'added) | 233 | (?A 'added) |
diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el index b87701536f8..01dc47e8089 100644 --- a/lisp/vc/vc.el +++ b/lisp/vc/vc.el | |||
| @@ -2415,7 +2415,10 @@ When called interactively with a prefix argument, prompt for REMOTE-LOCATION." | |||
| 2415 | 2415 | ||
| 2416 | ;;;###autoload | 2416 | ;;;###autoload |
| 2417 | (defun vc-region-history (from to) | 2417 | (defun vc-region-history (from to) |
| 2418 | "Show the history of the region FROM..TO." | 2418 | "Show the history of the region between FROM and TO. |
| 2419 | |||
| 2420 | If called interactively, show the history between point and | ||
| 2421 | mark." | ||
| 2419 | (interactive "r") | 2422 | (interactive "r") |
| 2420 | (let* ((lfrom (line-number-at-pos from t)) | 2423 | (let* ((lfrom (line-number-at-pos from t)) |
| 2421 | (lto (line-number-at-pos (1- to) t)) | 2424 | (lto (line-number-at-pos (1- to) t)) |
diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el index 8828236e3ea..bee7f8069ee 100644 --- a/lisp/wid-edit.el +++ b/lisp/wid-edit.el | |||
| @@ -1229,7 +1229,7 @@ When not inside a field, signal an error." | |||
| 1229 | (save-restriction | 1229 | (save-restriction |
| 1230 | ;; `widget-narrow-to-field' can be | 1230 | ;; `widget-narrow-to-field' can be |
| 1231 | ;; active when this function is called | 1231 | ;; active when this function is called |
| 1232 | ;; from an change-functions hook. So | 1232 | ;; from a change-functions hook. So |
| 1233 | ;; temporarily remove field narrowing | 1233 | ;; temporarily remove field narrowing |
| 1234 | ;; before to call `get-char-property'. | 1234 | ;; before to call `get-char-property'. |
| 1235 | (widen) | 1235 | (widen) |
| @@ -1802,7 +1802,7 @@ If END is omitted, it defaults to the length of LIST." | |||
| 1802 | ;;; The `url-link' Widget. | 1802 | ;;; The `url-link' Widget. |
| 1803 | 1803 | ||
| 1804 | (define-widget 'url-link 'link | 1804 | (define-widget 'url-link 'link |
| 1805 | "A link to an www page." | 1805 | "A link to a web page." |
| 1806 | :action 'widget-url-link-action) | 1806 | :action 'widget-url-link-action) |
| 1807 | 1807 | ||
| 1808 | (defun widget-url-link-action (widget &optional _event) | 1808 | (defun widget-url-link-action (widget &optional _event) |
diff --git a/src/.gdbinit b/src/.gdbinit index 9fdcaf86611..eb4d57a5fbb 100644 --- a/src/.gdbinit +++ b/src/.gdbinit | |||
| @@ -564,7 +564,7 @@ define pgi | |||
| 564 | end | 564 | end |
| 565 | document pgi | 565 | document pgi |
| 566 | Pretty print glyph structure glyph[I]. | 566 | Pretty print glyph structure glyph[I]. |
| 567 | Takes one argument, a integer I. | 567 | Takes one argument, an integer I. |
| 568 | end | 568 | end |
| 569 | 569 | ||
| 570 | define pgn | 570 | define pgn |
diff --git a/src/character.c b/src/character.c index 4a934c7801c..6a689808043 100644 --- a/src/character.c +++ b/src/character.c | |||
| @@ -983,7 +983,7 @@ alphabeticp (int c) | |||
| 983 | || gen_cat == UNICODE_CATEGORY_Nl); | 983 | || gen_cat == UNICODE_CATEGORY_Nl); |
| 984 | } | 984 | } |
| 985 | 985 | ||
| 986 | /* Return true if C is a alphabetic or decimal-number character. */ | 986 | /* Return true if C is an alphabetic or decimal-number character. */ |
| 987 | bool | 987 | bool |
| 988 | alphanumericp (int c) | 988 | alphanumericp (int c) |
| 989 | { | 989 | { |
diff --git a/src/character.h b/src/character.h index d9e2d7bfc67..1e420ba54cb 100644 --- a/src/character.h +++ b/src/character.h | |||
| @@ -695,7 +695,7 @@ INLINE int | |||
| 695 | char_table_translate (Lisp_Object obj, int ch) | 695 | char_table_translate (Lisp_Object obj, int ch) |
| 696 | { | 696 | { |
| 697 | /* This internal function is expected to be called with valid arguments, | 697 | /* This internal function is expected to be called with valid arguments, |
| 698 | so there is a eassert instead of CHECK_xxx for the sake of speed. */ | 698 | so there is an eassert instead of CHECK_xxx for the sake of speed. */ |
| 699 | eassert (CHAR_VALID_P (ch)); | 699 | eassert (CHAR_VALID_P (ch)); |
| 700 | eassert (CHAR_TABLE_P (obj)); | 700 | eassert (CHAR_TABLE_P (obj)); |
| 701 | obj = CHAR_TABLE_REF (obj, ch); | 701 | obj = CHAR_TABLE_REF (obj, ch); |
diff --git a/src/charset.c b/src/charset.c index cc61300b6bd..05290e86b4e 100644 --- a/src/charset.c +++ b/src/charset.c | |||
| @@ -2332,7 +2332,7 @@ init_charset_once (void) | |||
| 2332 | Don't make the value so small that the table is reallocated during | 2332 | Don't make the value so small that the table is reallocated during |
| 2333 | bootstrapping, as glibc malloc calls larger than just under 64 KiB | 2333 | bootstrapping, as glibc malloc calls larger than just under 64 KiB |
| 2334 | during an initial bootstrap wreak havoc after dumping; see the | 2334 | during an initial bootstrap wreak havoc after dumping; see the |
| 2335 | M_MMAP_THRESHOLD value in alloc.c, plus there is a extra overhead | 2335 | M_MMAP_THRESHOLD value in alloc.c, plus there is an extra overhead |
| 2336 | internal to glibc malloc and perhaps to Emacs malloc debugging. */ | 2336 | internal to glibc malloc and perhaps to Emacs malloc debugging. */ |
| 2337 | static struct charset charset_table_init[180]; | 2337 | static struct charset charset_table_init[180]; |
| 2338 | 2338 | ||
diff --git a/src/coding.c b/src/coding.c index 901f806e44b..a16142a9b41 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -252,7 +252,7 @@ decode_coding_XXXX (struct coding_system *coding) | |||
| 252 | CODING_RESULT_XXX indicating how the encoding finished. | 252 | CODING_RESULT_XXX indicating how the encoding finished. |
| 253 | 253 | ||
| 254 | DST_BYTES zero means that source area and destination area are | 254 | DST_BYTES zero means that source area and destination area are |
| 255 | overlapped, which means that we can produce a encoded text until it | 255 | overlapped, which means that we can produce an encoded text until it |
| 256 | reaches at the head of not-yet-encoded source text. | 256 | reaches at the head of not-yet-encoded source text. |
| 257 | 257 | ||
| 258 | Below is a template of these functions. */ | 258 | Below is a template of these functions. */ |
| @@ -3973,7 +3973,7 @@ decode_coding_iso_2022 (struct coding_system *coding) | |||
| 3973 | /* Reset the invocation and designation status to the safest | 3973 | /* Reset the invocation and designation status to the safest |
| 3974 | one; i.e. designate ASCII to the graphic register 0, and | 3974 | one; i.e. designate ASCII to the graphic register 0, and |
| 3975 | invoke that register to the graphic plane 0. This typically | 3975 | invoke that register to the graphic plane 0. This typically |
| 3976 | helps the case that an designation sequence for ASCII "ESC ( | 3976 | helps the case that a designation sequence for ASCII "ESC ( |
| 3977 | B" is somehow broken (e.g. broken by a newline). */ | 3977 | B" is somehow broken (e.g. broken by a newline). */ |
| 3978 | CODING_ISO_INVOCATION (coding, 0) = 0; | 3978 | CODING_ISO_INVOCATION (coding, 0) = 0; |
| 3979 | CODING_ISO_DESIGNATION (coding, 0) = charset_ascii; | 3979 | CODING_ISO_DESIGNATION (coding, 0) = charset_ascii; |
diff --git a/src/dbusbind.c b/src/dbusbind.c index 63dda583529..ec3707d18f3 100644 --- a/src/dbusbind.c +++ b/src/dbusbind.c | |||
| @@ -1401,7 +1401,7 @@ usage: (dbus-message-internal &rest REST) */) | |||
| 1401 | 1401 | ||
| 1402 | if ((mtype == DBUS_MESSAGE_TYPE_ERROR) | 1402 | if ((mtype == DBUS_MESSAGE_TYPE_ERROR) |
| 1403 | && (!dbus_message_set_error_name (dmessage, DBUS_ERROR_FAILED))) | 1403 | && (!dbus_message_set_error_name (dmessage, DBUS_ERROR_FAILED))) |
| 1404 | XD_SIGNAL1 (build_string ("Unable to create a error message")); | 1404 | XD_SIGNAL1 (build_string ("Unable to create an error message")); |
| 1405 | } | 1405 | } |
| 1406 | 1406 | ||
| 1407 | /* Check for timeout parameter. */ | 1407 | /* Check for timeout parameter. */ |
diff --git a/src/eval.c b/src/eval.c index 3c2b300096b..08a73b1e4a5 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -1604,7 +1604,10 @@ signal_or_quit (Lisp_Object error_symbol, Lisp_Object data, bool keyboard_quit) | |||
| 1604 | 1604 | ||
| 1605 | /* This hook is used by edebug. */ | 1605 | /* This hook is used by edebug. */ |
| 1606 | if (! NILP (Vsignal_hook_function) | 1606 | if (! NILP (Vsignal_hook_function) |
| 1607 | && ! NILP (error_symbol)) | 1607 | && ! NILP (error_symbol) |
| 1608 | /* Don't try to call a lisp function if we've already overflowed | ||
| 1609 | the specpdl stack. */ | ||
| 1610 | && specpdl_ptr < specpdl + specpdl_size) | ||
| 1608 | { | 1611 | { |
| 1609 | /* Edebug takes care of restoring these variables when it exits. */ | 1612 | /* Edebug takes care of restoring these variables when it exits. */ |
| 1610 | if (lisp_eval_depth + 20 > max_lisp_eval_depth) | 1613 | if (lisp_eval_depth + 20 > max_lisp_eval_depth) |
diff --git a/src/image.c b/src/image.c index 6e860834378..37416c16168 100644 --- a/src/image.c +++ b/src/image.c | |||
| @@ -8281,7 +8281,7 @@ extern WandExport void PixelGetMagickColor (const PixelWand *, | |||
| 8281 | #endif | 8281 | #endif |
| 8282 | 8282 | ||
| 8283 | /* Log ImageMagick error message. | 8283 | /* Log ImageMagick error message. |
| 8284 | Useful when a ImageMagick function returns the status `MagickFalse'. */ | 8284 | Useful when an ImageMagick function returns the status `MagickFalse'. */ |
| 8285 | 8285 | ||
| 8286 | static void | 8286 | static void |
| 8287 | imagemagick_error (MagickWand *wand) | 8287 | imagemagick_error (MagickWand *wand) |
diff --git a/src/inotify.c b/src/inotify.c index 08da308c978..e06cc97c6a7 100644 --- a/src/inotify.c +++ b/src/inotify.c | |||
| @@ -503,7 +503,7 @@ DEFUN ("inotify-watch-list", Finotify_watch_list, Sinotify_watch_list, 0, 0, 0, | |||
| 503 | } | 503 | } |
| 504 | 504 | ||
| 505 | DEFUN ("inotify-allocated-p", Finotify_allocated_p, Sinotify_allocated_p, 0, 0, 0, | 505 | DEFUN ("inotify-allocated-p", Finotify_allocated_p, Sinotify_allocated_p, 0, 0, 0, |
| 506 | doc: /* Return non-nil, if a inotify instance is allocated. */) | 506 | doc: /* Return non-nil, if an inotify instance is allocated. */) |
| 507 | { | 507 | { |
| 508 | return inotifyfd < 0 ? Qnil : Qt; | 508 | return inotifyfd < 0 ? Qnil : Qt; |
| 509 | } | 509 | } |
diff --git a/src/keymap.c b/src/keymap.c index 80a899b5755..c8cc933e782 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -1278,7 +1278,7 @@ append_key (Lisp_Object key_sequence, Lisp_Object key) | |||
| 1278 | return CALLN (Fvconcat, key_sequence, key_list); | 1278 | return CALLN (Fvconcat, key_sequence, key_list); |
| 1279 | } | 1279 | } |
| 1280 | 1280 | ||
| 1281 | /* Given a event type C which is a symbol, | 1281 | /* Given an event type C which is a symbol, |
| 1282 | signal an error if is a mistake such as RET or M-RET or C-DEL, etc. */ | 1282 | signal an error if is a mistake such as RET or M-RET or C-DEL, etc. */ |
| 1283 | 1283 | ||
| 1284 | static void | 1284 | static void |
diff --git a/src/process.c b/src/process.c index 496b1f2b70c..6ba27a33f4d 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -3733,7 +3733,7 @@ setting of the remote datagram address. When specified for a client | |||
| 3733 | process, the FAMILY, HOST, and SERVICE args are ignored. | 3733 | process, the FAMILY, HOST, and SERVICE args are ignored. |
| 3734 | 3734 | ||
| 3735 | The format of ADDRESS depends on the address family: | 3735 | The format of ADDRESS depends on the address family: |
| 3736 | - An IPv4 address is represented as an vector of integers [A B C D P] | 3736 | - An IPv4 address is represented as a vector of integers [A B C D P] |
| 3737 | corresponding to numeric IP address A.B.C.D and port number P. | 3737 | corresponding to numeric IP address A.B.C.D and port number P. |
| 3738 | - A local address is represented as a string with the address in the | 3738 | - A local address is represented as a string with the address in the |
| 3739 | local address space. | 3739 | local address space. |
diff --git a/src/regex.c b/src/regex.c index 122cf712422..a4e6441cce3 100644 --- a/src/regex.c +++ b/src/regex.c | |||
| @@ -5787,7 +5787,7 @@ re_match_2_internal (struct re_pattern_buffer *bufp, re_char *string1, | |||
| 5787 | 5787 | ||
| 5788 | EXTRACT_NUMBER (mcnt, p2 - 2); | 5788 | EXTRACT_NUMBER (mcnt, p2 - 2); |
| 5789 | 5789 | ||
| 5790 | /* Ensure this is a indeed the trivial kind of loop | 5790 | /* Ensure this is indeed the trivial kind of loop |
| 5791 | we are expecting. */ | 5791 | we are expecting. */ |
| 5792 | assert (skip_one_char (p1) == p2 - 3); | 5792 | assert (skip_one_char (p1) == p2 - 3); |
| 5793 | assert ((re_opcode_t) p2[-3] == jump && p2 + mcnt == p); | 5793 | assert ((re_opcode_t) p2[-3] == jump && p2 + mcnt == p); |
diff --git a/src/syntax.c b/src/syntax.c index 52cec23cd7e..20c607420c1 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -3049,7 +3049,7 @@ Comments are ignored if `parse-sexp-ignore-comments' is non-nil. | |||
| 3049 | 3049 | ||
| 3050 | If we reach the beginning or end of the accessible part of the buffer | 3050 | If we reach the beginning or end of the accessible part of the buffer |
| 3051 | before we have scanned over COUNT lists, return nil if the depth at | 3051 | before we have scanned over COUNT lists, return nil if the depth at |
| 3052 | that point is zero, and signal a error if the depth is nonzero. */) | 3052 | that point is zero, and signal an error if the depth is nonzero. */) |
| 3053 | (Lisp_Object from, Lisp_Object count, Lisp_Object depth) | 3053 | (Lisp_Object from, Lisp_Object count, Lisp_Object depth) |
| 3054 | { | 3054 | { |
| 3055 | CHECK_NUMBER (from); | 3055 | CHECK_NUMBER (from); |
diff --git a/src/xdisp.c b/src/xdisp.c index f6fcdec6624..14286447d13 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -32499,7 +32499,7 @@ or `nobreak-hyphen' face respectively. | |||
| 32499 | U+00A0 (no-break space), U+00AD (soft hyphen), U+2010 (hyphen), and | 32499 | U+00A0 (no-break space), U+00AD (soft hyphen), U+2010 (hyphen), and |
| 32500 | U+2011 (non-breaking hyphen) are affected. | 32500 | U+2011 (non-breaking hyphen) are affected. |
| 32501 | 32501 | ||
| 32502 | Any other non-nil value means to display these characters as a escape | 32502 | Any other non-nil value means to display these characters as an escape |
| 32503 | glyph followed by an ordinary space or hyphen. | 32503 | glyph followed by an ordinary space or hyphen. |
| 32504 | 32504 | ||
| 32505 | A value of nil means no special handling of these characters. */); | 32505 | A value of nil means no special handling of these characters. */); |
diff --git a/src/xsettings.c b/src/xsettings.c index ac2d86f5922..81c8f9b2919 100644 --- a/src/xsettings.c +++ b/src/xsettings.c | |||
| @@ -53,7 +53,7 @@ static char *current_font; | |||
| 53 | static struct x_display_info *first_dpyinfo; | 53 | static struct x_display_info *first_dpyinfo; |
| 54 | static Lisp_Object current_tool_bar_style; | 54 | static Lisp_Object current_tool_bar_style; |
| 55 | 55 | ||
| 56 | /* Store an config changed event in to the event queue. */ | 56 | /* Store a config changed event in to the event queue. */ |
| 57 | 57 | ||
| 58 | static void | 58 | static void |
| 59 | store_config_changed_event (Lisp_Object arg, Lisp_Object display_name) | 59 | store_config_changed_event (Lisp_Object arg, Lisp_Object display_name) |
diff --git a/test/src/eval-tests.el b/test/src/eval-tests.el index 201382da9c4..e68fd136113 100644 --- a/test/src/eval-tests.el +++ b/test/src/eval-tests.el | |||
| @@ -79,4 +79,24 @@ Bug#24912 and Bug#24913." | |||
| 79 | (let ((clauses (list '((progn (setcdr clauses "ouch") nil))))) | 79 | (let ((clauses (list '((progn (setcdr clauses "ouch") nil))))) |
| 80 | (should-error (eval (cons 'cond clauses))))) | 80 | (should-error (eval (cons 'cond clauses))))) |
| 81 | 81 | ||
| 82 | (defun eval-tests--exceed-specbind-limit () | ||
| 83 | (defvar eval-tests--var1) | ||
| 84 | (defvar eval-tests--var2) | ||
| 85 | ;; Bind two variables, to make extra sure we hit the | ||
| 86 | ;; `max-specpdl-size' limit before the `max-lisp-eval-depth' limit. | ||
| 87 | (let ((eval-tests--var1 1) | ||
| 88 | (eval-tests--var2 2)) | ||
| 89 | ;; Recurse until we hit the limit. | ||
| 90 | (eval-tests--exceed-specbind-limit))) | ||
| 91 | |||
| 92 | (ert-deftest eval-exceed-specbind-with-signal-hook () | ||
| 93 | "Test for Bug#30481. | ||
| 94 | Check that Emacs doesn't crash when exceeding specbind limit with | ||
| 95 | `signal-hook-function' bound. NOTE: Without the fix for | ||
| 96 | Bug#30481, this test can appear to pass, but cause a | ||
| 97 | crash/abort/malloc assert failure on the next test." | ||
| 98 | (let ((max-specpdl-size (/ max-lisp-eval-depth 2)) | ||
| 99 | (signal-hook-function #'ignore)) | ||
| 100 | (should-error (eval-tests--exceed-specbind-limit)))) | ||
| 101 | |||
| 82 | ;;; eval-tests.el ends here | 102 | ;;; eval-tests.el ends here |