aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref
diff options
context:
space:
mode:
authorJohn Wiegley2016-01-11 22:51:27 -0800
committerJohn Wiegley2016-01-11 22:51:27 -0800
commitc7bef6a4f033fa6b22906de0be6da54958d5b3c3 (patch)
tree3a0f34b340ad01de290f068530c27f35aba83724 /doc/lispref
parentf5d90b5fcf0251466055c7dbed6069c1850d802d (diff)
parent1f6898d0510cd15455f665c0f38451755a374243 (diff)
downloademacs-c7bef6a4f033fa6b22906de0be6da54958d5b3c3.tar.gz
emacs-c7bef6a4f033fa6b22906de0be6da54958d5b3c3.zip
Merge from origin/emacs-25
1f6898d test/automated/vc-hg.el: Support out-of-tree build 3adb56e Minor change in tramp-tests.el 2b535ba ; * etc/NEWS: Update the js.el entry. 76b518c * etc/HELLO: Add Armenian and Mongolian greetings. b51f1ef Java Mode: Fontify identifiers in the presence of annotations. 36b9539 Avoid an infloop when we run out of memory 2006752 Avoid unnecessary failures of auto-saving after fatal error eef6784 Simplify HAVE_MODULES use in mark_maybe_pointer 552694a Revert attempt to use 'noexcept' in typedef 6ad0d39 Update documentation of 'indirect-function' c6a5314 ; * etc/NEWS: Move entry of 'inhibit-point-motion-hooks'. 303141a Update documentation for obsoleting 'syntax-begin-function' 4e6f61c ; * etc/NEWS: Mark documented and not-to-be-documented entries. e667bbb Document new features if Eshell 9c4e4e0 ; * etc/NEWS: Update EUDC entries. 1089dc9 Handle too long commands in Tramp 684eb58 * .gitattributes: *.cur and *.pif are binary files too. d2c7fda * src/alloc.c (mark_maybe_pointer): HAVE_MODULES may be undefined bd3f53d * sh-script.el (sh-smie-sh-rules): Improve indentation inside $(...) 09b2b8a * src/alloc.c (mark_maybe_pointer): Also check wide-int's emacs_value cca0f93 ; Account for spaces before the filename c71e1e8 Use short date for 'hg annotate', and output the author f50027b Spelling fix c7dff67 ; * etc/NEWS: Fix the Xref entries that got separated. cc140bc Document user-level functions in project.el f8208b6 Document the user-level features of the Xref package b131fb8 * loading.texi: Add `define-type' entry for load-history db3c2a8 Improve doc strings and prompts in xref.el f6117ef Allow the use of `font-lock-extend-region-multiline' in CC Mode. 90fd798 Fix coding system for Tramp on OS X. e985a0e ; * etc/NEWS: Mark the 'check-expensive' entry not to be documented. 9dfcbf0 Update 'load-history' docs 207e191 Fix (error ...) error 457738f Correctly analyze brace arguments in templated C++ function declarations. d57724a * lisp/cedet/mode-local.el (describe-function-orig-buffer): Declare. 2a9532d * lisp/ffap.el (ffap-latex-mode): Avoid free variable. 1a6b084 * lisp/play/dunnet.el (dun-fix-screen): Avoid `end-of-buffer`. 8be046f Respect fontification region calculated by major mode. Fixes bug #22316. 4b37cba Improve documentation of Delete Selection mode a034dd3 Fix two project-find-file issues 30abf29 Clarify doc string of 'dired-current-directory' e990bb2 Use the face of preceding text for displaying the ellipsis 5810ac3 Suppress Chinese file name test for OSX in tramp-tests.el eeb710a ; * lisp/startup.el: Sentences end with two spaces. 428b3de * admin/admin.el (set-version): Also handle the NEWS file. 648de81 ; Add NEWS entry for project.el 671862f apropos-library: Skip obvious duplicates; don't error on generics 51668a5 ; Grammar fix ed41d11 Add project-find-file and project-or-external-find-file 056da45 ; Improve commentary in 'setup_for_ellipsis' 269d008 ; Improve docstring for `inhibit-startup-echo-area-message'
Diffstat (limited to 'doc/lispref')
-rw-r--r--doc/lispref/eval.texi11
-rw-r--r--doc/lispref/loading.texi5
-rw-r--r--doc/lispref/markers.texi18
-rw-r--r--doc/lispref/syntax.texi11
4 files changed, 28 insertions, 17 deletions
diff --git a/doc/lispref/eval.texi b/doc/lispref/eval.texi
index 28bf6005769..d2a8ff56b6b 100644
--- a/doc/lispref/eval.texi
+++ b/doc/lispref/eval.texi
@@ -328,13 +328,12 @@ This function returns the meaning of @var{function} as a function. If
328definition and starts over with that value. If @var{function} is not a 328definition and starts over with that value. If @var{function} is not a
329symbol, then it returns @var{function} itself. 329symbol, then it returns @var{function} itself.
330 330
331This function signals a @code{void-function} error if the final symbol 331This function returns @code{nil} if the final symbol is unbound. It
332is unbound and optional argument @var{noerror} is @code{nil} or 332signals a @code{cyclic-function-indirection} error if there is a loop
333omitted. Otherwise, if @var{noerror} is non-@code{nil}, it returns 333in the chain of symbols.
334@code{nil} if the final symbol is unbound.
335 334
336It signals a @code{cyclic-function-indirection} error if there is a 335The optional argument @var{noerror} is obsolete, kept for backward
337loop in the chain of symbols. 336compatibility, and has no effect.
338 337
339Here is how you could define @code{indirect-function} in Lisp: 338Here is how you could define @code{indirect-function} in Lisp:
340 339
diff --git a/doc/lispref/loading.texi b/doc/lispref/loading.texi
index 0a01162063b..cb5c7012c16 100644
--- a/doc/lispref/loading.texi
+++ b/doc/lispref/loading.texi
@@ -965,6 +965,11 @@ The face @var{face} was defined.
965The feature @var{feature} was required. 965The feature @var{feature} was required.
966@item (provide . @var{feature}) 966@item (provide . @var{feature})
967The feature @var{feature} was provided. 967The feature @var{feature} was provided.
968@item (cl-defmethod @var{method} @var{specializers})
969The named @var{method} was defined by using @code{cl-defmethod}, with
970@var{specializers} as its specializers.
971@item (define-type . @var{type})
972The type @var{type} was defined.
968@end table 973@end table
969 974
970The value of @code{load-history} may have one element whose @sc{car} is 975The value of @code{load-history} may have one element whose @sc{car} is
diff --git a/doc/lispref/markers.texi b/doc/lispref/markers.texi
index d44085527a9..bf185431384 100644
--- a/doc/lispref/markers.texi
+++ b/doc/lispref/markers.texi
@@ -659,6 +659,24 @@ more marks than this are pushed onto the @code{mark-ring},
659@c There is also global-mark-ring-max, but this chapter explicitly 659@c There is also global-mark-ring-max, but this chapter explicitly
660@c does not talk about the global mark. 660@c does not talk about the global mark.
661 661
662@cindex @code{delete-selection}, symbol property
663@findex delete-selection-helper
664@findex delete-selection-pre-hook
665When Delete Selection mode (@pxref{Using Region, Delete Selection, ,
666emacs, The GNU Emacs Manual}) is enabled, commands that operate on the
667active region (a.k.a.@: ``selection'') behave slightly differently.
668This works by adding the function @code{delete-selection-pre-hook} to
669the @code{pre-command-hook} (@pxref{Command Overview}). That function
670calls @code{delete-selection-helper} to delete the selection as
671appropriate for the command. If you want to adapt a command to Delete
672Selection mode, put the @code{delete-selection} property on the
673function's symbol (@pxref{Symbol Plists}); commands that don't have
674this property on their symbol won't delete the selection. This
675property can have one of several values to tailor the behavior to what
676the command is supposed to do; see the doc strings of
677@code{delete-selection-pre-hook} and @code{delete-selection-helper}
678for the details.
679
662@node The Region 680@node The Region
663@section The Region 681@section The Region
664@c The index entry must be just "region" to make it the first hit 682@c The index entry must be just "region" to make it the first hit
diff --git a/doc/lispref/syntax.texi b/doc/lispref/syntax.texi
index af24b996c0a..19782d0fbde 100644
--- a/doc/lispref/syntax.texi
+++ b/doc/lispref/syntax.texi
@@ -787,17 +787,6 @@ used on hooks such as @code{before-change-functions} (@pxref{Change
787Hooks}). 787Hooks}).
788@end defun 788@end defun
789 789
790 Major modes can make @code{syntax-ppss} run faster by specifying
791where it needs to start parsing.
792
793@defvar syntax-begin-function
794If this is non-@code{nil}, it should be a function that moves to an
795earlier buffer position where the parser state is equivalent to
796@code{nil}---in other words, a position outside of any comment,
797string, or parenthesis. @code{syntax-ppss} uses it to further
798optimize its computations, when the cache gives no help.
799@end defvar
800
801@node Parser State 790@node Parser State
802@subsection Parser State 791@subsection Parser State
803@cindex parser state 792@cindex parser state