diff options
| author | Stephen Leake | 2019-09-18 17:43:28 -0700 |
|---|---|---|
| committer | Stephen Leake | 2019-09-18 17:43:28 -0700 |
| commit | 34f1035e878a06ad181ff7fc533cd1fa0a565847 (patch) | |
| tree | 7708b0e62b09571ba5b2c625d810cd932c380508 /doc/lispref | |
| parent | b478444099655f36f7b243e21e8f98051299ca8f (diff) | |
| parent | 107ce3050fc37b9a13d8304ae1bb73fac9de5f61 (diff) | |
| download | emacs-34f1035e878a06ad181ff7fc533cd1fa0a565847.tar.gz emacs-34f1035e878a06ad181ff7fc533cd1fa0a565847.zip | |
Merge commit '107ce3050fc37b9a13d8304ae1bb73fac9de5f61'
Diffstat (limited to 'doc/lispref')
| -rw-r--r-- | doc/lispref/debugging.texi | 3 | ||||
| -rw-r--r-- | doc/lispref/display.texi | 6 | ||||
| -rw-r--r-- | doc/lispref/files.texi | 13 | ||||
| -rw-r--r-- | doc/lispref/internals.texi | 13 | ||||
| -rw-r--r-- | doc/lispref/searching.texi | 2 |
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 # |
| 458 | Toggle @code{print-circle} for the frame at point. | 458 | Toggle @code{print-circle} for the frame at point. |
| 459 | 459 | ||
| 460 | @item : | ||
| 461 | Toggle @code{print-gensym} for the frame at point. | ||
| 462 | |||
| 460 | @item . | 463 | @item . |
| 461 | Expand all the forms abbreviated with ``...'' in the frame at point. | 464 | Expand 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 |
| 5017 | variables are checked when a new buffer is displayed in the window. | 5017 | variables are checked when a new buffer is displayed in the window. |
| 5018 | Thus, you can make changes take effect by calling | 5018 | Thus, 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 |
| 5020 | determine the current width of the left or right margin. Instead, use | ||
| 5021 | the 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 | |||
| 856 | permission on the containing directories, regardless of the | 856 | permission on the containing directories, regardless of the |
| 857 | permissions of the file itself.) | 857 | permissions of the file itself.) |
| 858 | 858 | ||
| 859 | If the file does not exist, or if access control policies prevent you | 859 | If the file does not exist, this function returns @code{nil}. |
| 860 | from finding its attributes, this function returns @code{nil}. | ||
| 861 | 860 | ||
| 862 | Directories are files, so @code{file-exists-p} can return @code{t} when | 861 | Directories are files, so @code{file-exists-p} can return @code{t} when |
| 863 | given a directory. However, because @code{file-exists-p} follows | 862 | given 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} |
| 1264 | This function returns a list of attributes of file @var{filename}. If | 1263 | This function returns a list of attributes of file @var{filename}. If |
| 1265 | the specified file's attributes cannot be accessed, it returns @code{nil}. | 1264 | the specified file does not exist, it returns @code{nil}. |
| 1266 | This function does not follow symbolic links. | 1265 | This function does not follow symbolic links. |
| 1267 | The optional parameter @var{id-format} specifies the preferred format | 1266 | The optional parameter @var{id-format} specifies the preferred format |
| 1268 | of attributes @acronym{UID} and @acronym{GID} (see below)---the | 1267 | of attributes @acronym{UID} and @acronym{GID} (see below)---the |
| @@ -1464,9 +1463,8 @@ The underlying ACL implementation is platform-specific; on GNU/Linux | |||
| 1464 | and BSD, Emacs uses the POSIX ACL interface, while on MS-Windows Emacs | 1463 | and BSD, Emacs uses the POSIX ACL interface, while on MS-Windows Emacs |
| 1465 | emulates the POSIX ACL interface with native file security APIs. | 1464 | emulates the POSIX ACL interface with native file security APIs. |
| 1466 | 1465 | ||
| 1467 | If Emacs was not compiled with ACL support, or the file does not exist | 1466 | If ACLs are not supported or the file does not exist, |
| 1468 | or is inaccessible, or Emacs was unable to determine the ACL entries | 1467 | then the return value is @code{nil}. |
| 1469 | for 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 | |||
| 1478 | same form as what @code{set-file-selinux-context} takes for its | 1476 | same 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 | ||
| 1481 | If Emacs was not compiled with SELinux support, or the file does not | 1479 | If SELinux is not supported or the file does not exist, |
| 1482 | exist or is inaccessible, or if the system does not support SELinux, | ||
| 1483 | then the return value is @code{(nil nil nil nil)}. | 1480 | then 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 | |||
| 533 | trigger another garbage collection. You can use the result returned by | 533 | trigger 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 |
| 535 | object type; space allocated to the contents of buffers does not count. | 535 | object type; space allocated to the contents of buffers does not count. |
| 536 | Note that the subsequent garbage collection does not happen immediately | ||
| 537 | when the threshold is exhausted, but only the next time the Lisp interpreter | ||
| 538 | is called. | ||
| 539 | 536 | ||
| 540 | The initial threshold value is @code{GC_DEFAULT_THRESHOLD}, defined in | 537 | The 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 | |||
| 562 | proportion. | 559 | proportion. |
| 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 | ||
| 564 | for threshold exhaustion regularly, for efficiency reasons it does not | ||
| 565 | do so immediately after every change to the heap or to | ||
| 566 | @code{gc-cons-threshold} or @code{gc-cons-percentage}, so exhausting | ||
| 567 | the threshold does not immediately trigger garbage collection. Also, | ||
| 568 | for efficency in threshold calculations Emacs approximates the heap | ||
| 569 | size, which counts the bytes used by currently-accessible objects in | ||
| 570 | the 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 |
| 566 | memory used by Lisp data, broken down by data type. By contrast, the | 573 | memory used by Lisp data, broken down by data type. By contrast, the |
| 567 | function @code{memory-limit} provides information on the total amount of | 574 | function @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 |
| 1184 | Match @var{rx}, with @code{zero-or-more}, @code{0+}, | 1184 | Match @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 |