aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2017-04-27 22:03:56 -0700
committerGlenn Morris2017-04-27 22:03:56 -0700
commitcee4128135d0d9fd6032a0134b649d5fc81370c0 (patch)
treee62e97cbe32f4ca4f9540fe528dac0394702efdf /src
parentf0daad9adc5b8fd19f60f89e96b286a78f7162b3 (diff)
parent784602b10506c50075aa9463891a47380ebea55f (diff)
downloademacs-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
Diffstat (limited to 'src')
-rw-r--r--src/buffer.c4
-rw-r--r--src/callproc.c4
-rw-r--r--src/search.c52
-rw-r--r--src/xdisp.c10
4 files changed, 35 insertions, 35 deletions
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.
5632To interactively change the default directory, use command `cd'. */); 5632It should be a directory name (as opposed to a directory file-name).
5633On GNU and Unix systems, directory names end in a slash `/'.
5634To 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
242and returns a numeric exit status or a signal description string. 242and returns a numeric exit status or a signal description string.
243If you quit, the process is killed with SIGINT, or SIGKILL if you quit again. 243If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.
244 244
245The process runs in `default-directory' if that is local (as
246determined by `unhandled-file-name-directory'), or "~" otherwise. If
247you want to run a process in a remote directory use `process-file'.
248
245usage: (call-process PROGRAM &optional INFILE DESTINATION DISPLAY &rest ARGS) */) 249usage: (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
2229DEFUN ("re-search-backward", Fre_search_backward, Sre_search_backward, 1, 4, 2229DEFUN ("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.
2232Set point to the beginning of the occurrence found, and return point. 2232This function is almost identical to `re-search-forward', except that
2233An optional second argument bounds the search; it is a buffer position. 2233by 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 2234COUNT also indicates exactly the opposite searching direction.
2235 means search to the beginning of the accessible portion of the buffer.
2236Optional 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.
2238Optional 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.
2242With 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
2246Search case-sensitivity is determined by the value of the variable 2236See `re-search-forward' for details. */)
2247`case-fold-search', which see.
2248
2249See also the functions `match-beginning', `match-end', `match-string',
2250and `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.
2259Set point to the end of the occurrence found, and return point. 2245Set point to the end of the occurrence found, and return point.
2260An optional second argument bounds the search; it is a buffer position. 2246The 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
2263Optional 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. 2250The optional third argument NOERROR indicates how errors are handled
2265Optional 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. 2254The optional fourth argument COUNT is a number that indicates the
2269With 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.
2259With 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
2273Search case-sensitivity is determined by the value of the variable 2263Search 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
10537static void ATTRIBUTE_FORMAT_PRINTF (1, 0) 10540static void ATTRIBUTE_FORMAT_PRINTF (1, 0)
10538vmessage (const char *m, va_list ap) 10541vmessage (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. */
10593void 10597void
10594message (const char *m, ...) 10598message (const char *m, ...)
10595{ 10599{