aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref
diff options
context:
space:
mode:
authorGlenn Morris2019-12-30 09:04:05 -0800
committerGlenn Morris2019-12-30 09:04:05 -0800
commit99cd8ba7c0d14328d9275e1688ea61099ad3e1ea (patch)
treeb58cb069884805dbd8d35f84e2e04c0827833677 /doc/lispref
parentfab6c20e72be4ea5cfa6bce2630237c41da255eb (diff)
parent70fe552c61eaf36801c2b8691379315098df13e4 (diff)
downloademacs-99cd8ba7c0d14328d9275e1688ea61099ad3e1ea.tar.gz
emacs-99cd8ba7c0d14328d9275e1688ea61099ad3e1ea.zip
Merge from origin/emacs-27
70fe552c61 ; xref-references-in-directory: Autoload as well 181f571651 Fix up requires 43f66c3368 Extract xref-matches-in-files from project--find-regexp-in... 65af18d86e Rename xref-collect-references and xref-collect-matches 98788bf976 ; Improve the docstring some more c190e91a1e Improve docstrings 012c12a05e Fix when expose draws partially visible first glyph (bug#3... d915b8c3f1 Don't require semantic/fw 50a0126402 Do some renames for clarity 74261ff301 Rearrange NEWS, add missing documentation 6c9571379e Fix interactive spec in netrc-parse 32222fb34c Fix documentation of define-obsolete-* functions # Conflicts: # etc/NEWS
Diffstat (limited to 'doc/lispref')
-rw-r--r--doc/lispref/customize.texi7
-rw-r--r--doc/lispref/functions.texi6
-rw-r--r--doc/lispref/hooks.texi4
-rw-r--r--doc/lispref/keymaps.texi2
-rw-r--r--doc/lispref/numbers.texi10
-rw-r--r--doc/lispref/streams.texi3
6 files changed, 23 insertions, 9 deletions
diff --git a/doc/lispref/customize.texi b/doc/lispref/customize.texi
index 64c06c23867..b19feaf977f 100644
--- a/doc/lispref/customize.texi
+++ b/doc/lispref/customize.texi
@@ -427,6 +427,13 @@ the build-time context. This also has the side-effect that the
427@xref{Building Emacs}. 427@xref{Building Emacs}.
428@end table 428@end table
429 429
430@item :local @var{value}
431@kindex local@r{, @code{defcustom} keyword}
432If the @var{value} is @code{t}, mark @var{option} as automatically
433buffer-local; if the value is @code{permanent}, also set @var{option}s
434@code{permanent-local} property to @code{t}. @xref {Creating
435Buffer-Local}.
436
430@item :risky @var{value} 437@item :risky @var{value}
431@kindex risky@r{, @code{defcustom} keyword} 438@kindex risky@r{, @code{defcustom} keyword}
432Set the variable's @code{risky-local-variable} property to 439Set the variable's @code{risky-local-variable} property to
diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi
index 6157f9a535b..4307aab9268 100644
--- a/doc/lispref/functions.texi
+++ b/doc/lispref/functions.texi
@@ -2090,7 +2090,7 @@ alias for a function or macro can also be marked as obsolete; this
2090makes the alias itself obsolete, not the function or macro which it 2090makes the alias itself obsolete, not the function or macro which it
2091resolves to. 2091resolves to.
2092 2092
2093@defun make-obsolete obsolete-name current-name &optional when 2093@defun make-obsolete obsolete-name current-name when
2094This function marks @var{obsolete-name} as obsolete. 2094This function marks @var{obsolete-name} as obsolete.
2095@var{obsolete-name} should be a symbol naming a function or macro, or 2095@var{obsolete-name} should be a symbol naming a function or macro, or
2096an alias for a function or macro. 2096an alias for a function or macro.
@@ -2104,11 +2104,11 @@ should begin in lower case, and end with a period. It can also be
2104@code{nil}, in which case the warning message provides no additional 2104@code{nil}, in which case the warning message provides no additional
2105details. 2105details.
2106 2106
2107If provided, @var{when} should be a string indicating when the function 2107The argument @var{when} should be a string indicating when the function
2108was first made obsolete---for example, a date or a release number. 2108was first made obsolete---for example, a date or a release number.
2109@end defun 2109@end defun
2110 2110
2111@defmac define-obsolete-function-alias obsolete-name current-name &optional when doc 2111@defmac define-obsolete-function-alias obsolete-name current-name when &optional doc
2112This convenience macro marks the function @var{obsolete-name} obsolete 2112This convenience macro marks the function @var{obsolete-name} obsolete
2113and also defines it as an alias for the function @var{current-name}. 2113and also defines it as an alias for the function @var{current-name}.
2114It is equivalent to the following: 2114It is equivalent to the following:
diff --git a/doc/lispref/hooks.texi b/doc/lispref/hooks.texi
index 4542db97306..26d26bed8ae 100644
--- a/doc/lispref/hooks.texi
+++ b/doc/lispref/hooks.texi
@@ -110,6 +110,10 @@ Function to call to quit the current buffer.
110@item change-major-mode-hook 110@item change-major-mode-hook
111@xref{Creating Buffer-Local}. 111@xref{Creating Buffer-Local}.
112 112
113@item comint-password-function
114This abnormal hook permits a derived mode to supply a password for the
115underlying command interpreter without prompting the user.
116
113@item command-line-functions 117@item command-line-functions
114@xref{Command-Line Arguments}. 118@xref{Command-Line Arguments}.
115 119
diff --git a/doc/lispref/keymaps.texi b/doc/lispref/keymaps.texi
index 8ff329bdacb..813bf814394 100644
--- a/doc/lispref/keymaps.texi
+++ b/doc/lispref/keymaps.texi
@@ -1171,6 +1171,8 @@ the second example.
1171@end group 1171@end group
1172@end example 1172@end example
1173 1173
1174The @var{keymap} argument can also be a list of keymaps.
1175
1174Unlike @code{read-key-sequence}, this function does not modify the 1176Unlike @code{read-key-sequence}, this function does not modify the
1175specified events in ways that discard information (@pxref{Key Sequence 1177specified events in ways that discard information (@pxref{Key Sequence
1176Input}). In particular, it does not convert letters to lower case and 1178Input}). In particular, it does not convert letters to lower case and
diff --git a/doc/lispref/numbers.texi b/doc/lispref/numbers.texi
index 939ad5c85a1..3127354ee2e 100644
--- a/doc/lispref/numbers.texi
+++ b/doc/lispref/numbers.texi
@@ -316,11 +316,11 @@ and returns the result. @var{x1} and @var{x2} must be floating point.
316@end defun 316@end defun
317 317
318@defun logb x 318@defun logb x
319This function returns the binary exponent of @var{x}. More 319This function returns the binary exponent of @var{x}. More precisely,
320precisely, if @var{x} is finite and nonzero, the value is the 320if @var{x} is finite and nonzero, the value is the logarithm base 2 of
321logarithm base 2 of @math{|x|}, rounded down to an integer. 321@math{|x|}, rounded down to an integer. If @var{x} is zero or
322If @var{x} is zero, infinite, or a NaN, the value is minus infinity, 322infinite, the value is infinity; if @var{x} is a NaN, the value is a
323plus infinity, or a NaN respectively. 323NaN.
324 324
325@example 325@example
326(logb 10) 326(logb 10)
diff --git a/doc/lispref/streams.texi b/doc/lispref/streams.texi
index 600639f244f..08c3e519ebe 100644
--- a/doc/lispref/streams.texi
+++ b/doc/lispref/streams.texi
@@ -740,7 +740,8 @@ The default is @code{t}, meaning display in the echo area.
740@defvar print-quoted 740@defvar print-quoted
741If this is non-@code{nil}, that means to print quoted forms using 741If this is non-@code{nil}, that means to print quoted forms using
742abbreviated reader syntax, e.g., @code{(quote foo)} prints as 742abbreviated reader syntax, e.g., @code{(quote foo)} prints as
743@code{'foo}, and @code{(function foo)} as @code{#'foo}. 743@code{'foo}, and @code{(function foo)} as @code{#'foo}. The default
744is @code{t}.
744@end defvar 745@end defvar
745 746
746@defvar print-escape-newlines 747@defvar print-escape-newlines