aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref
diff options
context:
space:
mode:
authorStephen Leake2019-09-18 17:43:28 -0700
committerStephen Leake2019-09-18 17:43:28 -0700
commit34f1035e878a06ad181ff7fc533cd1fa0a565847 (patch)
tree7708b0e62b09571ba5b2c625d810cd932c380508 /doc/lispref
parentb478444099655f36f7b243e21e8f98051299ca8f (diff)
parent107ce3050fc37b9a13d8304ae1bb73fac9de5f61 (diff)
downloademacs-34f1035e878a06ad181ff7fc533cd1fa0a565847.tar.gz
emacs-34f1035e878a06ad181ff7fc533cd1fa0a565847.zip
Merge commit '107ce3050fc37b9a13d8304ae1bb73fac9de5f61'
Diffstat (limited to 'doc/lispref')
-rw-r--r--doc/lispref/debugging.texi3
-rw-r--r--doc/lispref/display.texi6
-rw-r--r--doc/lispref/files.texi13
-rw-r--r--doc/lispref/internals.texi13
-rw-r--r--doc/lispref/searching.texi2
5 files changed, 23 insertions, 14 deletions
diff --git a/doc/lispref/debugging.texi b/doc/lispref/debugging.texi
index 12caeaf1289..71e767d0a66 100644
--- a/doc/lispref/debugging.texi
+++ b/doc/lispref/debugging.texi
@@ -457,6 +457,9 @@ Collapse the top-level Lisp form at point back to a single line.
457@item # 457@item #
458Toggle @code{print-circle} for the frame at point. 458Toggle @code{print-circle} for the frame at point.
459 459
460@item :
461Toggle @code{print-gensym} for the frame at point.
462
460@item . 463@item .
461Expand all the forms abbreviated with ``...'' in the frame at point. 464Expand all the forms abbreviated with ``...'' in the frame at point.
462 465
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 7c0a56dcad3..3c3ee1fc6a4 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -25,7 +25,7 @@ that Emacs presents to the user.
25* Fringes:: Controlling window fringes. 25* Fringes:: Controlling window fringes.
26* Scroll Bars:: Controlling scroll bars. 26* Scroll Bars:: Controlling scroll bars.
27* Window Dividers:: Separating windows visually. 27* Window Dividers:: Separating windows visually.
28* Display Property:: Enabling special display features. 28* Display Property:: Images, margins, text size, etc.
29* Images:: Displaying images in Emacs buffers. 29* Images:: Displaying images in Emacs buffers.
30* Xwidgets:: Displaying native widgets in Emacs buffers. 30* Xwidgets:: Displaying native widgets in Emacs buffers.
31* Buttons:: Adding clickable buttons to Emacs buffers. 31* Buttons:: Adding clickable buttons to Emacs buffers.
@@ -5016,7 +5016,9 @@ means no right marginal area.
5016 Setting these variables does not immediately affect the window. These 5016 Setting these variables does not immediately affect the window. These
5017variables are checked when a new buffer is displayed in the window. 5017variables are checked when a new buffer is displayed in the window.
5018Thus, you can make changes take effect by calling 5018Thus, you can make changes take effect by calling
5019@code{set-window-buffer}. 5019@code{set-window-buffer}. Do not use these variables to try to
5020determine the current width of the left or right margin. Instead, use
5021the function @code{window-margins}.
5020 5022
5021 You can also set the margin widths immediately. 5023 You can also set the margin widths immediately.
5022 5024
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi
index 18a1f4908d6..fba9622fecf 100644
--- a/doc/lispref/files.texi
+++ b/doc/lispref/files.texi
@@ -856,8 +856,7 @@ systems, this is true if the file exists and you have execute
856permission on the containing directories, regardless of the 856permission on the containing directories, regardless of the
857permissions of the file itself.) 857permissions of the file itself.)
858 858
859If the file does not exist, or if access control policies prevent you 859If the file does not exist, this function returns @code{nil}.
860from finding its attributes, this function returns @code{nil}.
861 860
862Directories are files, so @code{file-exists-p} can return @code{t} when 861Directories are files, so @code{file-exists-p} can return @code{t} when
863given a directory. However, because @code{file-exists-p} follows 862given a directory. However, because @code{file-exists-p} follows
@@ -1262,7 +1261,7 @@ on the 19th, @file{aug-20} was written on the 20th, and the file
1262@defun file-attributes filename &optional id-format 1261@defun file-attributes filename &optional id-format
1263@anchor{Definition of file-attributes} 1262@anchor{Definition of file-attributes}
1264This function returns a list of attributes of file @var{filename}. If 1263This function returns a list of attributes of file @var{filename}. If
1265the specified file's attributes cannot be accessed, it returns @code{nil}. 1264the specified file does not exist, it returns @code{nil}.
1266This function does not follow symbolic links. 1265This function does not follow symbolic links.
1267The optional parameter @var{id-format} specifies the preferred format 1266The optional parameter @var{id-format} specifies the preferred format
1268of attributes @acronym{UID} and @acronym{GID} (see below)---the 1267of attributes @acronym{UID} and @acronym{GID} (see below)---the
@@ -1464,9 +1463,8 @@ The underlying ACL implementation is platform-specific; on GNU/Linux
1464and BSD, Emacs uses the POSIX ACL interface, while on MS-Windows Emacs 1463and BSD, Emacs uses the POSIX ACL interface, while on MS-Windows Emacs
1465emulates the POSIX ACL interface with native file security APIs. 1464emulates the POSIX ACL interface with native file security APIs.
1466 1465
1467If Emacs was not compiled with ACL support, or the file does not exist 1466If ACLs are not supported or the file does not exist,
1468or is inaccessible, or Emacs was unable to determine the ACL entries 1467then the return value is @code{nil}.
1469for any other reason, then the return value is @code{nil}.
1470@end defun 1468@end defun
1471 1469
1472@defun file-selinux-context filename 1470@defun file-selinux-context filename
@@ -1478,8 +1476,7 @@ for details about what these actually mean. The return value has the
1478same form as what @code{set-file-selinux-context} takes for its 1476same form as what @code{set-file-selinux-context} takes for its
1479@var{context} argument (@pxref{Changing Files}). 1477@var{context} argument (@pxref{Changing Files}).
1480 1478
1481If Emacs was not compiled with SELinux support, or the file does not 1479If SELinux is not supported or the file does not exist,
1482exist or is inaccessible, or if the system does not support SELinux,
1483then the return value is @code{(nil nil nil nil)}. 1480then the return value is @code{(nil nil nil nil)}.
1484@end defun 1481@end defun
1485 1482
diff --git a/doc/lispref/internals.texi b/doc/lispref/internals.texi
index f85c266edef..c52999e1cd2 100644
--- a/doc/lispref/internals.texi
+++ b/doc/lispref/internals.texi
@@ -533,9 +533,6 @@ be allocated for Lisp objects after one garbage collection in order to
533trigger another garbage collection. You can use the result returned by 533trigger another garbage collection. You can use the result returned by
534@code{garbage-collect} to get an information about size of the particular 534@code{garbage-collect} to get an information about size of the particular
535object type; space allocated to the contents of buffers does not count. 535object type; space allocated to the contents of buffers does not count.
536Note that the subsequent garbage collection does not happen immediately
537when the threshold is exhausted, but only the next time the Lisp interpreter
538is called.
539 536
540The initial threshold value is @code{GC_DEFAULT_THRESHOLD}, defined in 537The initial threshold value is @code{GC_DEFAULT_THRESHOLD}, defined in
541@file{alloc.c}. Since it's defined in @code{word_size} units, the value 538@file{alloc.c}. Since it's defined in @code{word_size} units, the value
@@ -562,6 +559,16 @@ increases. Thus, it can be desirable to do them less frequently in
562proportion. 559proportion.
563@end defopt 560@end defopt
564 561
562 Control over the garbage collector via @code{gc-cons-threshold} and
563@code{gc-cons-percentage} is only approximate. Although Emacs checks
564for threshold exhaustion regularly, for efficiency reasons it does not
565do so immediately after every change to the heap or to
566@code{gc-cons-threshold} or @code{gc-cons-percentage}, so exhausting
567the threshold does not immediately trigger garbage collection. Also,
568for efficency in threshold calculations Emacs approximates the heap
569size, which counts the bytes used by currently-accessible objects in
570the heap.
571
565 The value returned by @code{garbage-collect} describes the amount of 572 The value returned by @code{garbage-collect} describes the amount of
566memory used by Lisp data, broken down by data type. By contrast, the 573memory used by Lisp data, broken down by data type. By contrast, the
567function @code{memory-limit} provides information on the total amount of 574function @code{memory-limit} provides information on the total amount of
diff --git a/doc/lispref/searching.texi b/doc/lispref/searching.texi
index 2088f16e47c..1286b63446a 100644
--- a/doc/lispref/searching.texi
+++ b/doc/lispref/searching.texi
@@ -1183,7 +1183,7 @@ Match @var{rx}, with @code{zero-or-more}, @code{0+},
1183@cindex @code{maximal-match} in rx 1183@cindex @code{maximal-match} in rx
1184Match @var{rx}, with @code{zero-or-more}, @code{0+}, 1184Match @var{rx}, with @code{zero-or-more}, @code{0+},
1185@code{one-or-more}, @code{1+}, @code{zero-or-one}, @code{opt} and 1185@code{one-or-more}, @code{1+}, @code{zero-or-one}, @code{opt} and
1186@code{optional} using non-greedy matching. This is the default. 1186@code{optional} using greedy matching. This is the default.
1187@end table 1187@end table
1188 1188
1189@subsubheading Matching single characters 1189@subsubheading Matching single characters