diff options
| author | Glenn Morris | 2017-04-27 22:03:56 -0700 |
|---|---|---|
| committer | Glenn Morris | 2017-04-27 22:03:56 -0700 |
| commit | cee4128135d0d9fd6032a0134b649d5fc81370c0 (patch) | |
| tree | e62e97cbe32f4ca4f9540fe528dac0394702efdf | |
| parent | f0daad9adc5b8fd19f60f89e96b286a78f7162b3 (diff) | |
| parent | 784602b10506c50075aa9463891a47380ebea55f (diff) | |
| download | emacs-cee4128135d0d9fd6032a0134b649d5fc81370c0.tar.gz emacs-cee4128135d0d9fd6032a0134b649d5fc81370c0.zip | |
Merge from origin/emacs-25
784602b1050 (origin/emacs-25) ; Add release notice
3a34412caae (tag: emacs-25.2) Set Emacs version to 25.2 and update AU...
56a4461a48d ; Move stray item from admin/notes/repo to CONTRIBUTE
2b0d1118199 ; CONTRIBUTE: Remove stray header.
f2ab09ec60d Fix a typo in indexing the user manual
bc55a574235 * lisp/menu-bar.el (kill-this-buffer): Doc fix. (Bug#26466)
a6d50401b4b Document 'line-pixel-height'
0c55cf43e61 * search.c (Fre_search_forward, Fre_search_backward): Imp...
c7ed57eaef4 Mention that processes start in default-directory (Bug#18...
856ec9ffa1f * src/xdisp.c (vmessage, message): Clarify commentary.
849a0aaa1c9 Belated fixes for admin.el's M-x make-manuals-dist
84938d79698 default-directory: Remark that it must be a directory name
3f0d047d2eb Delete confuse statement in manual
ee1bd94dd0c Improve packaging documentation
fb18bff91f0 Expand manual section on quitting windows
9a737079645 Fix docstring of dabbrev-abbrev-char-regexp
afe8849bac1 * doc/misc/cl.texi (Iteration Clauses): Clarify example (...
ada79442c07 ;* doc/misc/info.texi (Choose menu subtopic): Improve ind...
d38fd9229c0 Narrow scope of modification hook renabling in org-src fo...
e0e9db4c84a ; Spelling fix
# Conflicts:
# README
# etc/AUTHORS
# etc/HISTORY
# lisp/ldefs-boot.el
| -rw-r--r-- | CONTRIBUTE | 6 | ||||
| -rw-r--r-- | ChangeLog.2 | 205 | ||||
| -rw-r--r-- | admin/admin.el | 9 | ||||
| -rw-r--r-- | admin/notes/repo | 7 | ||||
| -rw-r--r-- | doc/emacs/cmdargs.texi | 4 | ||||
| -rw-r--r-- | doc/lispref/display.texi | 6 | ||||
| -rw-r--r-- | doc/lispref/package.texi | 12 | ||||
| -rw-r--r-- | doc/lispref/processes.texi | 13 | ||||
| -rw-r--r-- | doc/lispref/tips.texi | 11 | ||||
| -rw-r--r-- | doc/misc/cl.texi | 16 | ||||
| -rw-r--r-- | doc/misc/info.texi | 6 | ||||
| -rw-r--r-- | etc/HISTORY | 2 | ||||
| -rw-r--r-- | lisp/dabbrev.el | 32 | ||||
| -rw-r--r-- | lisp/menu-bar.el | 5 | ||||
| -rw-r--r-- | lisp/org/org-src.el | 18 | ||||
| -rw-r--r-- | lisp/subr.el | 7 | ||||
| -rw-r--r-- | src/buffer.c | 4 | ||||
| -rw-r--r-- | src/callproc.c | 4 | ||||
| -rw-r--r-- | src/search.c | 52 | ||||
| -rw-r--r-- | src/xdisp.c | 10 |
20 files changed, 328 insertions, 101 deletions
diff --git a/CONTRIBUTE b/CONTRIBUTE index 92a76d841c4..188ec864707 100644 --- a/CONTRIBUTE +++ b/CONTRIBUTE | |||
| @@ -209,7 +209,11 @@ reasons. These should be marked by including something like "Do not | |||
| 209 | merge to master" or anything that matches gitmerge-skip-regexp (see | 209 | merge to master" or anything that matches gitmerge-skip-regexp (see |
| 210 | admin/gitmerge.el) in the commit message. | 210 | admin/gitmerge.el) in the commit message. |
| 211 | 211 | ||
| 212 | ** Other process information | 212 | ** GNU ELPA |
| 213 | |||
| 214 | This repository does not contain the Emacs Lisp package archive | ||
| 215 | (elpa.gnu.org). See admin/notes/elpa for how to access the GNU ELPA | ||
| 216 | repository. | ||
| 213 | 217 | ||
| 214 | ** Emacs Mailing lists. | 218 | ** Emacs Mailing lists. |
| 215 | 219 | ||
diff --git a/ChangeLog.2 b/ChangeLog.2 index c1e10b19e1e..4b266e1e952 100644 --- a/ChangeLog.2 +++ b/ChangeLog.2 | |||
| @@ -1,3 +1,206 @@ | |||
| 1 | 2017-04-20 Nicolas Petton <nicolas@petton.fr> | ||
| 2 | |||
| 3 | * Version 25.2 released. | ||
| 4 | |||
| 5 | 2017-04-18 Eli Zaretskii <eliz@gnu.org> | ||
| 6 | |||
| 7 | Fix a typo in indexing the user manual | ||
| 8 | |||
| 9 | * doc/emacs/cmdargs.texi (General Variables): Fix a horrible typo. | ||
| 10 | |||
| 11 | 2017-04-12 Eli Zaretskii <eliz@gnu.org> | ||
| 12 | |||
| 13 | * lisp/menu-bar.el (kill-this-buffer): Doc fix. (Bug#26466) | ||
| 14 | |||
| 15 | 2017-04-11 Eli Zaretskii <eliz@gnu.org> | ||
| 16 | |||
| 17 | Document 'line-pixel-height' | ||
| 18 | |||
| 19 | * doc/lispref/display.texi (Size of Displayed Text): Document | ||
| 20 | line-pixel-height. Suggested by Tak Kunihiro | ||
| 21 | <tkk@misasa.okayama-u.ac.jp>. (Bug#26379) | ||
| 22 | |||
| 23 | 2017-04-07 Hong Xu <hong@topbug.net> | ||
| 24 | |||
| 25 | * src/search.c (Fre_search_forward, Fre_search_backward): Improve doc (Bug#25193). | ||
| 26 | |||
| 27 | 2017-04-07 Noam Postavsky <npostavs@gmail.com> | ||
| 28 | |||
| 29 | Mention that processes start in default-directory (Bug#18515) | ||
| 30 | |||
| 31 | * doc/lispref/processes.texi (Synchronous Processes): | ||
| 32 | (Asynchronous Processes): | ||
| 33 | * lisp/subr.el (start-process): | ||
| 34 | * src/callproc.c (call-process): Mention that the subprocess starts in | ||
| 35 | `default-directory' when local, suggest `start-file-process' and | ||
| 36 | `process-file' otherwise. | ||
| 37 | |||
| 38 | 2017-04-07 Noam Postavsky <npostavs@gmail.com> | ||
| 39 | |||
| 40 | * src/xdisp.c (vmessage, message): Clarify commentary. | ||
| 41 | |||
| 42 | 2017-04-02 Glenn Morris <rgm@gnu.org> | ||
| 43 | |||
| 44 | Belated fixes for admin.el's M-x make-manuals-dist | ||
| 45 | |||
| 46 | * admin/admin.el (make-manuals-dist-output-variables): Additions. | ||
| 47 | (make-manuals-dist--1): Also copy docstyle.texi. | ||
| 48 | |||
| 49 | 2017-03-31 Tino Calancha <tino.calancha@gmail.com> | ||
| 50 | |||
| 51 | default-directory: Remark that it must be a directory name | ||
| 52 | |||
| 53 | * src/buffer.c (default-directory): Update docstring (Bug#26272). | ||
| 54 | |||
| 55 | 2017-03-31 Tino Calancha <tino.calancha@gmail.com> | ||
| 56 | |||
| 57 | Delete confuse statement in manual | ||
| 58 | |||
| 59 | * doc/misc/cl.texi (For Clauses): Delete confuse statement | ||
| 60 | and its example (Bug#23550). | ||
| 61 | |||
| 62 | 2017-03-31 Noam Postavsky <npostavs@gmail.com> | ||
| 63 | |||
| 64 | Improve packaging documentation | ||
| 65 | |||
| 66 | * doc/lispref/package.texi (Packaging Basics): | ||
| 67 | * doc/lispref/tips.texi (Library Headers): Clarify some header | ||
| 68 | formats, relation between file headers and package | ||
| 69 | attributes (Bug#13281). | ||
| 70 | |||
| 71 | 2017-03-27 Eric Abrahamsen <eric@ericabrahamsen.net> | ||
| 72 | |||
| 73 | Expand manual section on quitting windows | ||
| 74 | |||
| 75 | * doc/lispref/windows.texi (Quitting Windows): Provide more | ||
| 76 | information about the elements of the quit-restore window parameter, | ||
| 77 | and how they affect the behavior of quit-restore-window. | ||
| 78 | |||
| 79 | 2017-03-26 Noam Postavsky <npostavs@gmail.com> | ||
| 80 | |||
| 81 | Fix docstring of dabbrev-abbrev-char-regexp | ||
| 82 | |||
| 83 | * lisp/dabbrev.el (dabbrev-abbrev-char-regexp): Using a value of nil | ||
| 84 | is equivalent to "\\sw\\|\\s_", and has no special behavior. If the | ||
| 85 | previous character doesn't match, we search backwards for one that | ||
| 86 | does, not throw an error. Replace Lisp example with C based one to | ||
| 87 | make it clear that "symbol" means a sequence of word and symbol | ||
| 88 | constituent characters, not a Lisp symbol (Bug#358). | ||
| 89 | |||
| 90 | 2017-03-26 Johan Claesson <johanclaesson@bredband.net> (tiny change) | ||
| 91 | |||
| 92 | * doc/misc/cl.texi (Iteration Clauses): Clarify example (Bug#19515). | ||
| 93 | |||
| 94 | 2017-03-25 Eli Zaretskii <eliz@gnu.org> | ||
| 95 | |||
| 96 | ;* doc/misc/info.texi (Choose menu subtopic): Improve indexing. (Bug#26236) | ||
| 97 | |||
| 98 | 2017-03-21 Noam Postavsky <npostavs@gmail.com> | ||
| 99 | |||
| 100 | Narrow scope of modification hook renabling in org-src fontification | ||
| 101 | |||
| 102 | Modification hooks should be enabled while modifying text in the | ||
| 103 | org-src temp buffer, but in 2017-01-29 "Call modification hooks in | ||
| 104 | org-src fontify buffers" the hooks were enabled also for modifications | ||
| 105 | to the original org buffer. This causes fontification errors when | ||
| 106 | combined with certain packages, as reported in | ||
| 107 | http://lists.gnu.org/archive/html/emacs-orgmode/2017-03/msg00420.html. | ||
| 108 | |||
| 109 | * lisp/org/org-src.el (org-src-font-lock-fontify-block): Reduce scope | ||
| 110 | of inhibit-modification-hooks let-binding. | ||
| 111 | |||
| 112 | 2017-03-17 Eli Zaretskii <eliz@gnu.org> | ||
| 113 | |||
| 114 | Improve documentation of interactive "r". | ||
| 115 | |||
| 116 | * doc/lispref/commands.texi (Interactive Codes): Mention that mark | ||
| 117 | must be set for "r" to work. | ||
| 118 | |||
| 119 | 2017-03-17 Thien-Thi Nguyen <ttn@gnu.org> | ||
| 120 | |||
| 121 | Fix bug: Range-check integer ‘alpha’ frame parm value | ||
| 122 | |||
| 123 | Typo introduced 2013-04-01, "Prefer < to > | ||
| 124 | in range checks such as 0 <= i && i < N". | ||
| 125 | |||
| 126 | * src/frame.c (x_set_alpha): Use ‘ialpha’, not ‘alpha’. | ||
| 127 | |||
| 128 | 2017-03-17 Paul Eggert <eggert@cs.ucla.edu> | ||
| 129 | |||
| 130 | * etc/PROBLEMS: Say that HP-UX cc doesn't work. | ||
| 131 | |||
| 132 | 2017-03-14 Eli Zaretskii <eliz@gnu.org> | ||
| 133 | |||
| 134 | Fix duplicate wording in Emacs manual | ||
| 135 | |||
| 136 | * doc/emacs/programs.texi (Which Function): Delete duplicate | ||
| 137 | wording. (Bug#26098) | ||
| 138 | |||
| 139 | 2017-03-14 Hong Xu <hong@topbug.net> | ||
| 140 | |||
| 141 | * lisp/paren.el (show-paren--default, show-paren-function): Add docstring. | ||
| 142 | |||
| 143 | 2017-03-13 Eli Zaretskii <eliz@gnu.org> | ||
| 144 | |||
| 145 | Fix wording in Emacs manual | ||
| 146 | |||
| 147 | * doc/emacs/text.texi (Paragraphs): Fix a garbled sentence. | ||
| 148 | (Bug#26086) | ||
| 149 | |||
| 150 | 2017-03-11 Eli Zaretskii <eliz@gnu.org> | ||
| 151 | |||
| 152 | Document how to customize input methods | ||
| 153 | |||
| 154 | * doc/emacs/mule.texi (Input Methods): Document how to customize | ||
| 155 | input methods. | ||
| 156 | |||
| 157 | 2017-03-11 Eli Zaretskii <eliz@gnu.org> | ||
| 158 | |||
| 159 | * lisp/net/eww.el (eww-reload): Doc fix. (Bug#25981) | ||
| 160 | |||
| 161 | 2017-03-06 Noam Postavsky <npostavs@gmail.com> | ||
| 162 | |||
| 163 | Fix warning message about native completion (Bug#25984) | ||
| 164 | |||
| 165 | * lisp/progmodes/python.el (python-shell-completion-native-turn-on-maybe): | ||
| 166 | The relevant variable is `python-shell-completion-native-enable'. | ||
| 167 | |||
| 168 | 2017-03-04 Eli Zaretskii <eliz@gnu.org> | ||
| 169 | |||
| 170 | Clarify documentation of 'raise' and 'height' display specs | ||
| 171 | |||
| 172 | * doc/lispref/display.texi (Other Display Specs): Clarify the | ||
| 173 | effect of 'height' display spec on the following 'raise'. | ||
| 174 | (Bug#25824) | ||
| 175 | |||
| 176 | 2017-03-04 Eli Zaretskii <eliz@gnu.org> | ||
| 177 | |||
| 178 | Mention problems with GPaste in PROBLEMS | ||
| 179 | |||
| 180 | * etc/PROBLEMS (GPaste): Mention the problem in yanking caused by | ||
| 181 | GPaste, and its solution. (Bug#25902) | ||
| 182 | |||
| 183 | 2017-02-25 Eli Zaretskii <eliz@gnu.org> | ||
| 184 | |||
| 185 | Fix doc strings in info.el | ||
| 186 | |||
| 187 | * lisp/info.el (Info-selection-hook, Info-mode-hook) | ||
| 188 | (Info-edit-mode-hook): Doc fixes. (Bug#25794) | ||
| 189 | |||
| 190 | 2017-02-25 Eli Zaretskii <eliz@gnu.org> | ||
| 191 | |||
| 192 | Fix doc string of 'posn-at-point' | ||
| 193 | |||
| 194 | * src/keyboard.c (Fposn_at_point): Clarify the doc string. | ||
| 195 | (Bug#25796) | ||
| 196 | |||
| 197 | 2017-02-24 Tino Calancha <tino.calancha@gmail.com> | ||
| 198 | |||
| 199 | Documentation fix in elisp reference manual | ||
| 200 | |||
| 201 | * doc/lispref/macros.texi (Defining Macros): Drop redundant mention | ||
| 202 | on 'declare' forms (Bug#25846). | ||
| 203 | |||
| 1 | 2017-02-18 Noam Postavsky <npostavs@gmail.com> | 204 | 2017-02-18 Noam Postavsky <npostavs@gmail.com> |
| 2 | 205 | ||
| 3 | * lisp/woman.el (woman): Fix docstring prefix arg description. | 206 | * lisp/woman.el (woman): Fix docstring prefix arg description. |
| @@ -35641,7 +35844,7 @@ | |||
| 35641 | 35844 | ||
| 35642 | This file records repository revisions from | 35845 | This file records repository revisions from |
| 35643 | commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to | 35846 | commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to |
| 35644 | commit ec4226d81074751c105264a3a3383c48d0a05e41 (inclusive). | 35847 | commit 3a34412caae002accd0fc7a7fc0b718c2f34159b (inclusive). |
| 35645 | See ChangeLog.1 for earlier changes. | 35848 | See ChangeLog.1 for earlier changes. |
| 35646 | 35849 | ||
| 35647 | ;; Local Variables: | 35850 | ;; Local Variables: |
diff --git a/admin/admin.el b/admin/admin.el index 5428e3a10bc..e81e7f1e7e1 100644 --- a/admin/admin.el +++ b/admin/admin.el | |||
| @@ -655,7 +655,10 @@ style=\"text-align:left\">") | |||
| 655 | ("@GZIP_PROG@" . "gzip") | 655 | ("@GZIP_PROG@" . "gzip") |
| 656 | ("@INSTALL@" . "install -c") | 656 | ("@INSTALL@" . "install -c") |
| 657 | ("@INSTALL_DATA@" . "${INSTALL} -m 644") | 657 | ("@INSTALL_DATA@" . "${INSTALL} -m 644") |
| 658 | ("@configure_input@" . "")) | 658 | ("@configure_input@" . "") |
| 659 | ("@AM_DEFAULT_VERBOSITY@" . "0") | ||
| 660 | ("@AM_V@" . "${V}") | ||
| 661 | ("@AM_DEFAULT_V@" . "${AM_DEFAULT_VERBOSITY}")) | ||
| 659 | "Alist of (REGEXP . REPLACEMENT) pairs for `make-manuals-dist'.") | 662 | "Alist of (REGEXP . REPLACEMENT) pairs for `make-manuals-dist'.") |
| 660 | 663 | ||
| 661 | (defun make-manuals-dist--1 (root type) | 664 | (defun make-manuals-dist--1 (root type) |
| @@ -675,7 +678,9 @@ style=\"text-align:left\">") | |||
| 675 | (delete-directory stem t)) | 678 | (delete-directory stem t)) |
| 676 | (make-directory stem) | 679 | (make-directory stem) |
| 677 | (copy-file "../doc/misc/texinfo.tex" stem) | 680 | (copy-file "../doc/misc/texinfo.tex" stem) |
| 678 | (or (equal type "emacs") (copy-file "../doc/emacs/emacsver.texi" stem)) | 681 | (unless (equal type "emacs") |
| 682 | (copy-file "../doc/emacs/emacsver.texi" stem) | ||
| 683 | (copy-file "../doc/emacs/docstyle.texi" stem)) | ||
| 679 | (dolist (file (directory-files (format "../doc/%s" type) t)) | 684 | (dolist (file (directory-files (format "../doc/%s" type) t)) |
| 680 | (if (or (string-match-p "\\(\\.texi\\'\\|/README\\'\\)" file) | 685 | (if (or (string-match-p "\\(\\.texi\\'\\|/README\\'\\)" file) |
| 681 | (and (equal type "lispintro") | 686 | (and (equal type "lispintro") |
diff --git a/admin/notes/repo b/admin/notes/repo index 3ab3da78071..0da1e1e227a 100644 --- a/admin/notes/repo +++ b/admin/notes/repo | |||
| @@ -1,12 +1,5 @@ | |||
| 1 | NOTES ON COMMITTING TO EMACS'S REPOSITORY -*- outline -*- | 1 | NOTES ON COMMITTING TO EMACS'S REPOSITORY -*- outline -*- |
| 2 | 2 | ||
| 3 | ** elpa | ||
| 4 | |||
| 5 | This branch does not contain a copy of Emacs, but of the Emacs Lisp | ||
| 6 | package archive (elpa.gnu.org). See admin/notes/elpa for further | ||
| 7 | explanation, and the README file in the branch for usage | ||
| 8 | instructions. | ||
| 9 | |||
| 10 | * Install changes only on one branch, let them get merged elsewhere if needed. | 3 | * Install changes only on one branch, let them get merged elsewhere if needed. |
| 11 | 4 | ||
| 12 | In particular, install bug-fixes only on the release branch (if there | 5 | In particular, install bug-fixes only on the release branch (if there |
diff --git a/doc/emacs/cmdargs.texi b/doc/emacs/cmdargs.texi index 6c39fe7b644..6f76ef39d9b 100644 --- a/doc/emacs/cmdargs.texi +++ b/doc/emacs/cmdargs.texi | |||
| @@ -470,11 +470,11 @@ bus as well as autolaunching the D-Bus session bus if not running yet. | |||
| 470 | Directory for the architecture-independent files that come with Emacs. | 470 | Directory for the architecture-independent files that come with Emacs. |
| 471 | This is used to initialize the variable @code{data-directory}. | 471 | This is used to initialize the variable @code{data-directory}. |
| 472 | @item EMACSDOC | 472 | @item EMACSDOC |
| 473 | #vindex EMACSDOC, environment variable | 473 | @vindex EMACSDOC, environment variable |
| 474 | Directory for the documentation string file, which is used to | 474 | Directory for the documentation string file, which is used to |
| 475 | initialize the Lisp variable @code{doc-directory}. | 475 | initialize the Lisp variable @code{doc-directory}. |
| 476 | @item EMACSLOADPATH | 476 | @item EMACSLOADPATH |
| 477 | #vindex EMACSLOADPATH, environment variable | 477 | @vindex EMACSLOADPATH, environment variable |
| 478 | A colon-separated list of directories@footnote{Here and below, | 478 | A colon-separated list of directories@footnote{Here and below, |
| 479 | whenever we say ``colon-separated list of directories'', it pertains | 479 | whenever we say ``colon-separated list of directories'', it pertains |
| 480 | to Unix and GNU/Linux systems. On MS-DOS and MS-Windows, the | 480 | to Unix and GNU/Linux systems. On MS-DOS and MS-Windows, the |
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 7a6a21649e4..51e31aa273f 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -1974,6 +1974,12 @@ line, if present, in the return value. If it is @code{t}, include the | |||
| 1974 | height of both, if present, in the return value. | 1974 | height of both, if present, in the return value. |
| 1975 | @end defun | 1975 | @end defun |
| 1976 | 1976 | ||
| 1977 | @defun line-pixel-height | ||
| 1978 | This function returns the height in pixels of the line at point in the | ||
| 1979 | selected window. The value includes the line spacing of the line | ||
| 1980 | (@pxref{Line Height}). | ||
| 1981 | @end defun | ||
| 1982 | |||
| 1977 | 1983 | ||
| 1978 | @node Line Height | 1984 | @node Line Height |
| 1979 | @section Line Height | 1985 | @section Line Height |
diff --git a/doc/lispref/package.texi b/doc/lispref/package.texi index 1b37337c15b..af05d1ef58c 100644 --- a/doc/lispref/package.texi +++ b/doc/lispref/package.texi | |||
| @@ -54,7 +54,8 @@ prefix used in the program (@pxref{Coding Conventions}). | |||
| 54 | @item Version | 54 | @item Version |
| 55 | A version number, in a form that the function @code{version-to-list} | 55 | A version number, in a form that the function @code{version-to-list} |
| 56 | understands (e.g., @samp{11.86}). Each release of a package should be | 56 | understands (e.g., @samp{11.86}). Each release of a package should be |
| 57 | accompanied by an increase in the version number. | 57 | accompanied by an increase in the version number so that it will be |
| 58 | recognized as an upgrade by users querying the package archive. | ||
| 58 | 59 | ||
| 59 | @item Brief description | 60 | @item Brief description |
| 60 | This is shown when the package is listed in the Package Menu. It | 61 | This is shown when the package is listed in the Package Menu. It |
| @@ -71,8 +72,9 @@ once it is installed. | |||
| 71 | A list of other packages (possibly including minimal acceptable | 72 | A list of other packages (possibly including minimal acceptable |
| 72 | version numbers) on which this package depends. The list may be | 73 | version numbers) on which this package depends. The list may be |
| 73 | empty, meaning this package has no dependencies. Otherwise, | 74 | empty, meaning this package has no dependencies. Otherwise, |
| 74 | installing this package also automatically installs its dependencies; | 75 | installing this package also automatically installs its dependencies, |
| 75 | if any dependency cannot be found, the package cannot be installed. | 76 | recursively; if any dependency cannot be found, the package cannot be |
| 77 | installed. | ||
| 76 | @end table | 78 | @end table |
| 77 | 79 | ||
| 78 | @cindex content directory, package | 80 | @cindex content directory, package |
| @@ -212,8 +214,8 @@ subdirectories of the content directory. | |||
| 212 | One of the files in the content directory must be named | 214 | One of the files in the content directory must be named |
| 213 | @file{@var{name}-pkg.el}. It must contain a single Lisp form, | 215 | @file{@var{name}-pkg.el}. It must contain a single Lisp form, |
| 214 | consisting of a call to the function @code{define-package}, described | 216 | consisting of a call to the function @code{define-package}, described |
| 215 | below. This defines the package's version, brief description, and | 217 | below. This defines the package's attributes: version, brief |
| 216 | requirements. | 218 | description, and requirements. |
| 217 | 219 | ||
| 218 | For example, if we distribute version 1.3 of the superfrobnicator as | 220 | For example, if we distribute version 1.3 of the superfrobnicator as |
| 219 | a multi-file package, the tar file would be | 221 | a multi-file package, the tar file would be |
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi index 630853384e8..1d200ce1362 100644 --- a/doc/lispref/processes.texi +++ b/doc/lispref/processes.texi | |||
| @@ -300,8 +300,11 @@ system, much like text written into a file. @xref{Coding Systems}. | |||
| 300 | @defun call-process program &optional infile destination display &rest args | 300 | @defun call-process program &optional infile destination display &rest args |
| 301 | This function calls @var{program} and waits for it to finish. | 301 | This function calls @var{program} and waits for it to finish. |
| 302 | 302 | ||
| 303 | The current working directory of the subprocess is | 303 | The current working directory of the subprocess is set to the current |
| 304 | @code{default-directory}. | 304 | buffer's value of @code{default-directory} if that is local (as |
| 305 | determined by @code{unhandled-file-name-directory}), or "~" otherwise. | ||
| 306 | If you want to run a process in a remote directory use | ||
| 307 | @code{process-file}. | ||
| 305 | 308 | ||
| 306 | The standard input for the new process comes from file @var{infile} if | 309 | The standard input for the new process comes from file @var{infile} if |
| 307 | @var{infile} is not @code{nil}, and from the null device otherwise. | 310 | @var{infile} is not @code{nil}, and from the null device otherwise. |
| @@ -683,6 +686,12 @@ created with @code{make-pipe-process}, described below. | |||
| 683 | 686 | ||
| 684 | The original argument list, modified with the actual connection | 687 | The original argument list, modified with the actual connection |
| 685 | information, is available via the @code{process-contact} function. | 688 | information, is available via the @code{process-contact} function. |
| 689 | |||
| 690 | The current working directory of the subprocess is set to the current | ||
| 691 | buffer's value of @code{default-directory} if that is local (as | ||
| 692 | determined by `unhandled-file-name-directory'), or "~" otherwise. If | ||
| 693 | you want to run a process in a remote direcotry use | ||
| 694 | @code{start-file-process}. | ||
| 686 | @end defun | 695 | @end defun |
| 687 | 696 | ||
| 688 | @defun make-pipe-process &rest args | 697 | @defun make-pipe-process &rest args |
diff --git a/doc/lispref/tips.texi b/doc/lispref/tips.texi index 4e2a0fad1fa..35abd8e79db 100644 --- a/doc/lispref/tips.texi +++ b/doc/lispref/tips.texi | |||
| @@ -1046,12 +1046,15 @@ package manager both at download time (to ensure that a complete set | |||
| 1046 | of packages is downloaded) and at activation time (to ensure that a | 1046 | of packages is downloaded) and at activation time (to ensure that a |
| 1047 | package is only activated if all its dependencies have been). | 1047 | package is only activated if all its dependencies have been). |
| 1048 | 1048 | ||
| 1049 | Its format is a list of lists. The @code{car} of each sub-list is the | 1049 | Its format is a list of lists on a single line. The @code{car} of |
| 1050 | name of a package, as a symbol. The @code{cadr} of each sub-list is | 1050 | each sub-list is the name of a package, as a symbol. The @code{cadr} |
| 1051 | the minimum acceptable version number, as a string. For instance: | 1051 | of each sub-list is the minimum acceptable version number, as a string |
| 1052 | that can be parse by @code{version-to-list}. An entry that lacks a | ||
| 1053 | version (i.e., an entry which is just a symbol, or a sub-list of one | ||
| 1054 | element) is equivalent to entry with version "0". For instance: | ||
| 1052 | 1055 | ||
| 1053 | @smallexample | 1056 | @smallexample |
| 1054 | ;; Package-Requires: ((gnus "1.0") (bubbles "2.7.2")) | 1057 | ;; Package-Requires: ((gnus "1.0") (bubbles "2.7.2") cl-lib (seq)) |
| 1055 | @end smallexample | 1058 | @end smallexample |
| 1056 | 1059 | ||
| 1057 | The package code automatically defines a package named @samp{emacs} | 1060 | The package code automatically defines a package named @samp{emacs} |
diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi index 2339d576319..33b4858a45b 100644 --- a/doc/misc/cl.texi +++ b/doc/misc/cl.texi | |||
| @@ -1976,18 +1976,6 @@ This clause iterates @var{var} over all the cons cells of @var{list}. | |||
| 1976 | @result{} ((1 2 3 4) (2 3 4) (3 4) (4)) | 1976 | @result{} ((1 2 3 4) (2 3 4) (3 4) (4)) |
| 1977 | @end example | 1977 | @end example |
| 1978 | 1978 | ||
| 1979 | With @code{by}, there is no real reason that the @code{on} expression | ||
| 1980 | must be a list. For example: | ||
| 1981 | |||
| 1982 | @example | ||
| 1983 | (cl-loop for x on first-animal by 'next-animal collect x) | ||
| 1984 | @end example | ||
| 1985 | |||
| 1986 | @noindent | ||
| 1987 | where @code{(next-animal x)} takes an ``animal'' @var{x} and returns | ||
| 1988 | the next in the (assumed) sequence of animals, or @code{nil} if | ||
| 1989 | @var{x} was the last animal in the sequence. | ||
| 1990 | |||
| 1991 | @item for @var{var} in-ref @var{list} by @var{function} | 1979 | @item for @var{var} in-ref @var{list} by @var{function} |
| 1992 | This is like a regular @code{in} clause, but @var{var} becomes | 1980 | This is like a regular @code{in} clause, but @var{var} becomes |
| 1993 | a @code{setf}-able ``reference'' onto the elements of the list | 1981 | a @code{setf}-able ``reference'' onto the elements of the list |
| @@ -2252,8 +2240,8 @@ were non-@code{nil}, the loop returns @code{t}: | |||
| 2252 | 2240 | ||
| 2253 | @example | 2241 | @example |
| 2254 | (if (cl-loop for size in size-list always (> size 10)) | 2242 | (if (cl-loop for size in size-list always (> size 10)) |
| 2255 | (some-big-sizes) | 2243 | (only-big-sizes) |
| 2256 | (no-big-sizes)) | 2244 | (some-small-sizes)) |
| 2257 | @end example | 2245 | @end example |
| 2258 | 2246 | ||
| 2259 | @item never @var{condition} | 2247 | @item never @var{condition} |
diff --git a/doc/misc/info.texi b/doc/misc/info.texi index 6f2e53aa739..3db8e8e90f1 100644 --- a/doc/misc/info.texi +++ b/doc/misc/info.texi | |||
| @@ -1108,6 +1108,7 @@ other file with @kbd{g(@var{filename})*@key{RET}}. | |||
| 1108 | @kindex 1 @r{through} 9 @r{(Info mode)} | 1108 | @kindex 1 @r{through} 9 @r{(Info mode)} |
| 1109 | @findex Info-nth-menu-item | 1109 | @findex Info-nth-menu-item |
| 1110 | @cindex select @var{n}'th menu item | 1110 | @cindex select @var{n}'th menu item |
| 1111 | @cindex menu items, select by their numbers | ||
| 1111 | If you begrudge each character of type-in which your system requires, | 1112 | If you begrudge each character of type-in which your system requires, |
| 1112 | you might like to use the commands @kbd{1}, @kbd{2}, @kbd{3}, @kbd{4}, | 1113 | you might like to use the commands @kbd{1}, @kbd{2}, @kbd{3}, @kbd{4}, |
| 1113 | @dots{}, @kbd{9}. They are short for the @kbd{m} command together | 1114 | @dots{}, @kbd{9}. They are short for the @kbd{m} command together |
| @@ -1116,6 +1117,11 @@ in the current node's menu; @kbd{2} goes through the second item, etc. | |||
| 1116 | In the stand-alone reader, @kbd{0} goes through the last menu item; | 1117 | In the stand-alone reader, @kbd{0} goes through the last menu item; |
| 1117 | this is so you need not count how many entries are there. | 1118 | this is so you need not count how many entries are there. |
| 1118 | 1119 | ||
| 1120 | @cindex 3rd menu item | ||
| 1121 | @cindex third menu item | ||
| 1122 | @cindex 6th menu item | ||
| 1123 | @cindex sixth menu item | ||
| 1124 | @cindex star @samp{*} before menu item | ||
| 1119 | If your display supports multiple fonts, colors or underlining, and | 1125 | If your display supports multiple fonts, colors or underlining, and |
| 1120 | you are using Emacs's Info mode to read Info files, the third, sixth | 1126 | you are using Emacs's Info mode to read Info files, the third, sixth |
| 1121 | and ninth menu items have a @samp{*} that stands out, either in color | 1127 | and ninth menu items have a @samp{*} that stands out, either in color |
diff --git a/etc/HISTORY b/etc/HISTORY index 43790bb92bc..ad38b3262d2 100644 --- a/etc/HISTORY +++ b/etc/HISTORY | |||
| @@ -209,6 +209,8 @@ GNU Emacs 24.5 (2015-04-10) emacs-24.5 | |||
| 209 | 209 | ||
| 210 | GNU Emacs 25.1 (2016-09-16) emacs-25.1 | 210 | GNU Emacs 25.1 (2016-09-16) emacs-25.1 |
| 211 | 211 | ||
| 212 | GNU Emacs 25.2 (2017-04-20) emacs-25.2 | ||
| 213 | |||
| 212 | 214 | ||
| 213 | ---------------------------------------------------------------------- | 215 | ---------------------------------------------------------------------- |
| 214 | This file is part of GNU Emacs. | 216 | This file is part of GNU Emacs. |
diff --git a/lisp/dabbrev.el b/lisp/dabbrev.el index 3550d75c46a..9c9dc8a4f38 100644 --- a/lisp/dabbrev.el +++ b/lisp/dabbrev.el | |||
| @@ -191,23 +191,21 @@ This variable has an effect only when the value of | |||
| 191 | This regexp will be surrounded with \\\\( ... \\\\) when actually used. | 191 | This regexp will be surrounded with \\\\( ... \\\\) when actually used. |
| 192 | 192 | ||
| 193 | Set this variable to \"\\\\sw\" if you want ordinary words or | 193 | Set this variable to \"\\\\sw\" if you want ordinary words or |
| 194 | \"\\\\sw\\\\|\\\\s_\" if you want symbols (including characters whose | 194 | \"\\\\sw\\\\|\\\\s_\" if you want symbols (including characters |
| 195 | syntax is \"symbol\" as well as those whose syntax is \"word\". | 195 | whose syntax is \"symbol\" as well as those whose syntax is |
| 196 | 196 | \"word\"). The abbreviation is from point to the start of the | |
| 197 | The value nil has a special meaning: the abbreviation is from point to | 197 | previous sequence of characters matching this variable. |
| 198 | previous word-start, but the search is for symbols. | 198 | |
| 199 | 199 | The default value of nil is equivalent to \"\\\\sw\\\\|\\\\s_\". | |
| 200 | For instance, if you are programming in Lisp, `yes-or-no-p' is a symbol, | 200 | |
| 201 | while `yes', `or', `no' and `p' are considered words. If this | 201 | For instance, suppose the current buffer is in `c-mode'. If this |
| 202 | variable is nil, then expanding `yes-or-no-' looks for a symbol | 202 | variable is nil or \"\\\\sw\\\\|\\\\s_\", then expanding |
| 203 | starting with or containing `no-'. If you set this variable to | 203 | `debug_print_in_' looks for a symbol starting with |
| 204 | \"\\\\sw\\\\|\\\\s_\", that expansion looks for a symbol starting with | 204 | `debug_print_in_'. If you set this variable to \"\\\\sw\", that |
| 205 | `yes-or-no-'. Finally, if you set this variable to \"\\\\sw\", then | 205 | expansion looks for a word prefixed with `in_' (e.g., it would |
| 206 | expanding `yes-or-no-' signals an error because `-' is not part of a word; | 206 | match `in_range', but not `in_close_range'). If expanding |
| 207 | but expanding `yes-or-no' looks for a word starting with `no'. | 207 | `debug_print_in' it would look for a word starting with |
| 208 | 208 | `in' (e.g. `integer')." | |
| 209 | The recommended value is nil, which will make dabbrev default to | ||
| 210 | using \"\\\\sw\\\\|\\\\s_\"." | ||
| 211 | :type '(choice (const nil) | 209 | :type '(choice (const nil) |
| 212 | regexp) | 210 | regexp) |
| 213 | :group 'dabbrev) | 211 | :group 'dabbrev) |
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index 28464f13df7..719173c7e1e 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el | |||
| @@ -1898,7 +1898,10 @@ updating the menu." | |||
| 1898 | (defun kill-this-buffer () ; for the menu bar | 1898 | (defun kill-this-buffer () ; for the menu bar |
| 1899 | "Kill the current buffer. | 1899 | "Kill the current buffer. |
| 1900 | When called in the minibuffer, get out of the minibuffer | 1900 | When called in the minibuffer, get out of the minibuffer |
| 1901 | using `abort-recursive-edit'." | 1901 | using `abort-recursive-edit'. |
| 1902 | |||
| 1903 | This command can be reliably invoked only from the menu bar, | ||
| 1904 | otherwise it could decide to silently do nothing." | ||
| 1902 | (interactive) | 1905 | (interactive) |
| 1903 | (cond | 1906 | (cond |
| 1904 | ;; Don't do anything when `menu-frame' is not alive or visible | 1907 | ;; Don't do anything when `menu-frame' is not alive or visible |
diff --git a/lisp/org/org-src.el b/lisp/org/org-src.el index caa6526435b..4eb8a531b85 100644 --- a/lisp/org/org-src.el +++ b/lisp/org/org-src.el | |||
| @@ -919,15 +919,15 @@ fontification of code blocks see `org-src-fontify-block' and | |||
| 919 | ;; from `jit-lock-function' (Bug#25132). | 919 | ;; from `jit-lock-function' (Bug#25132). |
| 920 | (let ((inhibit-modification-hooks nil)) | 920 | (let ((inhibit-modification-hooks nil)) |
| 921 | (delete-region (point-min) (point-max)) | 921 | (delete-region (point-min) (point-max)) |
| 922 | (insert string " ") ;; so there's a final property change | 922 | (insert string " ")) ;; so there's a final property change |
| 923 | (unless (eq major-mode lang-mode) (funcall lang-mode)) | 923 | (unless (eq major-mode lang-mode) (funcall lang-mode)) |
| 924 | (org-font-lock-ensure) | 924 | (org-font-lock-ensure) |
| 925 | (setq pos (point-min)) | 925 | (setq pos (point-min)) |
| 926 | (while (setq next (next-single-property-change pos 'face)) | 926 | (while (setq next (next-single-property-change pos 'face)) |
| 927 | (put-text-property | 927 | (put-text-property |
| 928 | (+ start (1- pos)) (1- (+ start next)) 'face | 928 | (+ start (1- pos)) (1- (+ start next)) 'face |
| 929 | (get-text-property pos 'face) org-buffer) | 929 | (get-text-property pos 'face) org-buffer) |
| 930 | (setq pos next)))) | 930 | (setq pos next))) |
| 931 | (add-text-properties | 931 | (add-text-properties |
| 932 | start end | 932 | start end |
| 933 | '(font-lock-fontified t fontified t font-lock-multiline t)) | 933 | '(font-lock-fontified t fontified t font-lock-multiline t)) |
diff --git a/lisp/subr.el b/lisp/subr.el index 1dd5d2ffef9..02e79932233 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -2077,7 +2077,12 @@ arguments PROGRAM-ARGS are strings to give program as arguments. | |||
| 2077 | 2077 | ||
| 2078 | If you want to separate standard output from standard error, use | 2078 | If you want to separate standard output from standard error, use |
| 2079 | `make-process' or invoke the command through a shell and redirect | 2079 | `make-process' or invoke the command through a shell and redirect |
| 2080 | one of them using the shell syntax." | 2080 | one of them using the shell syntax. |
| 2081 | |||
| 2082 | The process runs in `default-directory' if that is local (as | ||
| 2083 | determined by `unhandled-file-name-directory'), or \"~\" | ||
| 2084 | otherwise. If you want to run a process in a remote directory | ||
| 2085 | use `start-file-process'." | ||
| 2081 | (unless (fboundp 'make-process) | 2086 | (unless (fboundp 'make-process) |
| 2082 | (error "Emacs was compiled without subprocess support")) | 2087 | (error "Emacs was compiled without subprocess support")) |
| 2083 | (apply #'make-process | 2088 | (apply #'make-process |
diff --git a/src/buffer.c b/src/buffer.c index ff4a500c8b7..33ffdf8eb8e 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -5629,7 +5629,9 @@ visual lines rather than logical lines. See the documentation of | |||
| 5629 | DEFVAR_PER_BUFFER ("default-directory", &BVAR (current_buffer, directory), | 5629 | DEFVAR_PER_BUFFER ("default-directory", &BVAR (current_buffer, directory), |
| 5630 | Qstringp, | 5630 | Qstringp, |
| 5631 | doc: /* Name of default directory of current buffer. | 5631 | doc: /* Name of default directory of current buffer. |
| 5632 | To interactively change the default directory, use command `cd'. */); | 5632 | It should be a directory name (as opposed to a directory file-name). |
| 5633 | On GNU and Unix systems, directory names end in a slash `/'. | ||
| 5634 | To interactively change the default directory, use command `cd'. */); | ||
| 5633 | 5635 | ||
| 5634 | DEFVAR_PER_BUFFER ("auto-fill-function", &BVAR (current_buffer, auto_fill_function), | 5636 | DEFVAR_PER_BUFFER ("auto-fill-function", &BVAR (current_buffer, auto_fill_function), |
| 5635 | Qnil, | 5637 | Qnil, |
diff --git a/src/callproc.c b/src/callproc.c index 792556c8e02..e967e45d03f 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -242,6 +242,10 @@ Otherwise it waits for PROGRAM to terminate | |||
| 242 | and returns a numeric exit status or a signal description string. | 242 | and returns a numeric exit status or a signal description string. |
| 243 | If you quit, the process is killed with SIGINT, or SIGKILL if you quit again. | 243 | If you quit, the process is killed with SIGINT, or SIGKILL if you quit again. |
| 244 | 244 | ||
| 245 | The process runs in `default-directory' if that is local (as | ||
| 246 | determined by `unhandled-file-name-directory'), or "~" otherwise. If | ||
| 247 | you want to run a process in a remote directory use `process-file'. | ||
| 248 | |||
| 245 | usage: (call-process PROGRAM &optional INFILE DESTINATION DISPLAY &rest ARGS) */) | 249 | usage: (call-process PROGRAM &optional INFILE DESTINATION DISPLAY &rest ARGS) */) |
| 246 | (ptrdiff_t nargs, Lisp_Object *args) | 250 | (ptrdiff_t nargs, Lisp_Object *args) |
| 247 | { | 251 | { |
diff --git a/src/search.c b/src/search.c index c0deb57213c..f5f9e46d5a3 100644 --- a/src/search.c +++ b/src/search.c | |||
| @@ -2228,26 +2228,12 @@ See also the functions `match-beginning', `match-end' and `replace-match'. */) | |||
| 2228 | 2228 | ||
| 2229 | DEFUN ("re-search-backward", Fre_search_backward, Sre_search_backward, 1, 4, | 2229 | DEFUN ("re-search-backward", Fre_search_backward, Sre_search_backward, 1, 4, |
| 2230 | "sRE search backward: ", | 2230 | "sRE search backward: ", |
| 2231 | doc: /* Search backward from point for match for regular expression REGEXP. | 2231 | doc: /* Search backward from point for regular expression REGEXP. |
| 2232 | Set point to the beginning of the occurrence found, and return point. | 2232 | This function is almost identical to `re-search-forward', except that |
| 2233 | An optional second argument bounds the search; it is a buffer position. | 2233 | by default it searches backward instead of forward, and the sign of |
| 2234 | The match found must not begin before that position. A value of nil | 2234 | COUNT also indicates exactly the opposite searching direction. |
| 2235 | means search to the beginning of the accessible portion of the buffer. | ||
| 2236 | Optional third argument, if t, means if fail just return nil (no error). | ||
| 2237 | If not nil and not t, position at limit of search and return nil. | ||
| 2238 | Optional fourth argument COUNT, if a positive number, means to search | ||
| 2239 | for COUNT successive occurrences. If COUNT is negative, search | ||
| 2240 | forward, instead of backward, for -COUNT occurrences. A value of | ||
| 2241 | nil means the same as 1. | ||
| 2242 | With COUNT positive, the match found is the COUNTth to last one (or | ||
| 2243 | last, if COUNT is 1 or nil) in the buffer located entirely before | ||
| 2244 | the origin of the search; correspondingly with COUNT negative. | ||
| 2245 | 2235 | ||
| 2246 | Search case-sensitivity is determined by the value of the variable | 2236 | See `re-search-forward' for details. */) |
| 2247 | `case-fold-search', which see. | ||
| 2248 | |||
| 2249 | See also the functions `match-beginning', `match-end', `match-string', | ||
| 2250 | and `replace-match'. */) | ||
| 2251 | (Lisp_Object regexp, Lisp_Object bound, Lisp_Object noerror, Lisp_Object count) | 2237 | (Lisp_Object regexp, Lisp_Object bound, Lisp_Object noerror, Lisp_Object count) |
| 2252 | { | 2238 | { |
| 2253 | return search_command (regexp, bound, noerror, count, -1, 1, 0); | 2239 | return search_command (regexp, bound, noerror, count, -1, 1, 0); |
| @@ -2257,18 +2243,22 @@ DEFUN ("re-search-forward", Fre_search_forward, Sre_search_forward, 1, 4, | |||
| 2257 | "sRE search: ", | 2243 | "sRE search: ", |
| 2258 | doc: /* Search forward from point for regular expression REGEXP. | 2244 | doc: /* Search forward from point for regular expression REGEXP. |
| 2259 | Set point to the end of the occurrence found, and return point. | 2245 | Set point to the end of the occurrence found, and return point. |
| 2260 | An optional second argument bounds the search; it is a buffer position. | 2246 | The optional second argument BOUND is a buffer position that bounds |
| 2261 | The match found must not end after that position. A value of nil | 2247 | the search. The match found must not end after that position. A |
| 2262 | means search to the end of the accessible portion of the buffer. | 2248 | value of nil means search to the end of the accessible portion of |
| 2263 | Optional third argument, if t, means if fail just return nil (no error). | 2249 | the buffer. |
| 2264 | If not nil and not t, move to limit of search and return nil. | 2250 | The optional third argument NOERROR indicates how errors are handled |
| 2265 | Optional fourth argument COUNT, if a positive number, means to search | 2251 | when the search fails. If it is nil or omitted, emit an error; if |
| 2266 | for COUNT successive occurrences. If COUNT is negative, search | 2252 | it is t, simply return nil and do nothing; if it is neither nil nor |
| 2267 | backward, instead of forward, for -COUNT occurrences. A value of | 2253 | t, move to the limit of search and return nil. |
| 2268 | nil means the same as 1. | 2254 | The optional fourth argument COUNT is a number that indicates the |
| 2269 | With COUNT positive, the match found is the COUNTth one (or first, | 2255 | search direction and the number of occurrences to search for. If it |
| 2270 | if COUNT is 1 or nil) in the buffer located entirely after the | 2256 | is positive, search forward for COUNT successive occurrences; if it |
| 2271 | origin of the search; correspondingly with COUNT negative. | 2257 | is negative, search backward, instead of forward, for -COUNT |
| 2258 | occurrences. A value of nil means the same as 1. | ||
| 2259 | With COUNT positive/negative, the match found is the COUNTth/-COUNTth | ||
| 2260 | one in the buffer located entirely after/before the origin of the | ||
| 2261 | search. | ||
| 2272 | 2262 | ||
| 2273 | Search case-sensitivity is determined by the value of the variable | 2263 | Search case-sensitivity is determined by the value of the variable |
| 2274 | `case-fold-search', which see. | 2264 | `case-fold-search', which see. |
diff --git a/src/xdisp.c b/src/xdisp.c index 3e6a3078cea..41458c38176 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -10530,9 +10530,12 @@ message_with_string (const char *m, Lisp_Object string, bool log) | |||
| 10530 | /* Dump an informative message to the minibuf. If M is 0, clear out | 10530 | /* Dump an informative message to the minibuf. If M is 0, clear out |
| 10531 | any existing message, and let the mini-buffer text show through. | 10531 | any existing message, and let the mini-buffer text show through. |
| 10532 | 10532 | ||
| 10533 | The message must be safe ASCII and the format must not contain ` or | 10533 | The message must be safe ASCII (because when Emacs is |
| 10534 | '. If your message and format do not fit into this category, | 10534 | non-interactive the message is sent straight to stderr without |
| 10535 | convert your arguments to Lisp objects and use Fmessage instead. */ | 10535 | encoding first) and the format must not contain ` or ' (because |
| 10536 | this function does not account for `text-quoting-style'). If your | ||
| 10537 | message and format do not fit into this category, convert your | ||
| 10538 | arguments to Lisp objects and use Fmessage instead. */ | ||
| 10536 | 10539 | ||
| 10537 | static void ATTRIBUTE_FORMAT_PRINTF (1, 0) | 10540 | static void ATTRIBUTE_FORMAT_PRINTF (1, 0) |
| 10538 | vmessage (const char *m, va_list ap) | 10541 | vmessage (const char *m, va_list ap) |
| @@ -10590,6 +10593,7 @@ vmessage (const char *m, va_list ap) | |||
| 10590 | } | 10593 | } |
| 10591 | } | 10594 | } |
| 10592 | 10595 | ||
| 10596 | /* See vmessage for restrictions on the text of the message. */ | ||
| 10593 | void | 10597 | void |
| 10594 | message (const char *m, ...) | 10598 | message (const char *m, ...) |
| 10595 | { | 10599 | { |