[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lispref/text.texi
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lispref/text.texi |
Date: |
Mon, 30 Jun 2003 06:42:46 -0400 |
Index: emacs/lispref/text.texi
diff -c emacs/lispref/text.texi:1.62 emacs/lispref/text.texi:1.63
*** emacs/lispref/text.texi:1.62 Wed Jun 4 05:03:40 2003
--- emacs/lispref/text.texi Mon Jun 30 06:42:46 2003
***************
*** 224,229 ****
--- 224,244 ----
@end example
@end defun
+ @tindex current-word
+ @defun current-word &optional strict really-word
+ This function returns the symbol (or word) at or near point, as a string.
+ The return value includes no text properties.
+
+ The optional argument @var{really-word} is address@hidden, it finds a
+ word; otherwise, it finds a symbol (which includes word characters and
+ both symbol constituent characters).
+
+ If the optional argument @var{strict} is address@hidden, then point
+ must be in or next to the symbol or word---if no symbol or word is
+ there, the function returns @code{nil}. Otherwise, a nearby symbol or
+ word on the same line is acceptable.
+ @end defun
+
@defun thing-at-point thing
Return the @var{thing} around or next to point, as a string.
***************
*** 2322,2328 ****
This variable holds an alist which maps property names to a list of
alternative property names. If a character does not specify a direct
value for a property, the alternative property names are consulted in
! order; the first non-nil value is used. This variable takes
precedence over @code{default-text-properties}, and @code{category}
properties take precedence over this variable.
@end defvar
--- 2337,2343 ----
This variable holds an alist which maps property names to a list of
alternative property names. If a character does not specify a direct
value for a property, the alternative property names are consulted in
! order; the first address@hidden value is used. This variable takes
precedence over @code{default-text-properties}, and @code{category}
properties take precedence over this variable.
@end defvar
***************
*** 3296,3302 ****
You can cause @code{constrain-to-field} to ignore all field boundaries
(and so never constrain anything) by binding the variable
! @code{inhibit-field-text-motion} to a non-nil value.
@end defun
@node Not Intervals
--- 3311,3317 ----
You can cause @code{constrain-to-field} to ignore all field boundaries
(and so never constrain anything) by binding the variable
! @code{inhibit-field-text-motion} to a address@hidden value.
@end defun
@node Not Intervals
***************
*** 3714,3719 ****
--- 3729,3737 ----
changed text, its length is simply the difference between the first two
arguments.
@end defvar
+
+ Output of messges into the @samp{*Messages*} buffer does not
+ call these functions.
@defmac combine-after-change-calls body...
The macro executes @var{body} normally, but arranges to call the