aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2000-05-23 09:44:28 +0000
committerGerd Moellmann2000-05-23 09:44:28 +0000
commitce75fd23484c39eaf350af874a3ddd82661ed3a9 (patch)
tree0c7b729638653f9041a7945438d23a828bc31848
parentd1e4948d222344fc08d300536986022c7ca6aa21 (diff)
downloademacs-ce75fd23484c39eaf350af874a3ddd82661ed3a9.tar.gz
emacs-ce75fd23484c39eaf350af874a3ddd82661ed3a9.zip
*** empty log message ***
-rw-r--r--etc/NEWS5
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lispref/display.texi12
-rw-r--r--lispref/modes.texi16
-rw-r--r--lispref/text.texi15
-rw-r--r--src/ChangeLog2
6 files changed, 21 insertions, 31 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 87305cb56b1..59ee3abf580 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1184,6 +1184,11 @@ functionality with aliases for the mldrag functions.
1184*** eval-reg.el has been obsoleted by changes to edebug.el and removed. 1184*** eval-reg.el has been obsoleted by changes to edebug.el and removed.
1185 1185
1186*** ph.el has been obsoleted by EUDC and removed. 1186*** ph.el has been obsoleted by EUDC and removed.
1187
1188
1189* Lisp changes made after edition 2.6 of the Emacs Lisp Manual,
1190(Display-related features are described in a page of their own below.)
1191
1187 1192
1188* Lisp changes in Emacs 21.1 (see following page for display-related features) 1193* Lisp changes in Emacs 21.1 (see following page for display-related features)
1189 1194
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e5608076bf4..ce9d8c42006 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -17,7 +17,7 @@
17 17
182000-05-22 Sam Steingold <sds@gnu.org> 182000-05-22 Sam Steingold <sds@gnu.org>
19 19
20 * info.el (Info-fontify-node): fixed the call to 20 * info.el (Info-fontify-node): Fixed the call to
21 `add-text-properties' (bug introduced on 2000-05-18). 21 `add-text-properties' (bug introduced on 2000-05-18).
22 22
232000-05-22 Dave Love <fx@gnu.org> 232000-05-22 Dave Love <fx@gnu.org>
diff --git a/lispref/display.texi b/lispref/display.texi
index ecdf52b69c0..5992c36171d 100644
--- a/lispref/display.texi
+++ b/lispref/display.texi
@@ -895,22 +895,14 @@ sense---only on the screen.
895If this property is non-@code{nil}, the overlay is deleted automatically 895If this property is non-@code{nil}, the overlay is deleted automatically
896if it ever becomes empty (i.e., if it spans no characters). 896if it ever becomes empty (i.e., if it spans no characters).
897 897
898@item keymap 898@item local-map
899@cindex keymap of character (and overlays) 899@cindex keymap of character (and overlays)
900@kindex keymap @r{(overlay property)} 900@kindex local-map @r{(overlay property)}
901If this property is non-@code{nil}, it specifies a keymap for a portion 901If this property is non-@code{nil}, it specifies a keymap for a portion
902of the text. The property's value replaces the buffer's local map, when 902of the text. The property's value replaces the buffer's local map, when
903the character after point is within the overlay. @xref{Active Keymaps}. 903the character after point is within the overlay. @xref{Active Keymaps}.
904@end table 904@end table
905 905
906@item local-map
907@cindex keymap of character (and overlays)
908@kindex local-map @r{(overlay property)}
909This property is like the @code{keymap} property, except that it doesn't
910replace the buffer's local map. Keys not defined in the keymap
911specified with @code{local-map} are looked up in the buffer's local map.
912@end table
913
914@node Managing Overlays 906@node Managing Overlays
915@subsection Managing Overlays 907@subsection Managing Overlays
916 908
diff --git a/lispref/modes.texi b/lispref/modes.texi
index 58914ddf77f..12686adac48 100644
--- a/lispref/modes.texi
+++ b/lispref/modes.texi
@@ -1449,28 +1449,28 @@ The value of @code{global-mode-string}. Currently, only
1449 Starting in Emacs 21, certain text properties are meaningful in the 1449 Starting in Emacs 21, certain text properties are meaningful in the
1450mode line. The @code{face} property affects the appearance of text; the 1450mode line. The @code{face} property affects the appearance of text; the
1451@code{help-echo} property associate help strings with the text, and 1451@code{help-echo} property associate help strings with the text, and
1452@code{keymap} can make the text mouse-sensitive. 1452@code{local-map} can make the text mouse-sensitive.
1453 1453
1454 There are three ways to specify text properties for text in the mode 1454 There are three ways to specify text properties for text in the mode
1455line: 1455line:
1456 1456
1457@enumerate 1457@enumerate
1458@item 1458@item
1459Put a string with the @code{keymap} property directly into the mode-line 1459Put a string with the @code{local-map} property directly into the
1460data structure. 1460mode-line data structure.
1461 1461
1462@item 1462@item
1463Put a @code{keymap} property on a mode-line %-construct such as 1463Put a @code{local-map} property on a mode-line %-construct
1464@samp{%12b}; then the expansion of the %-construct will have that same 1464such as @samp{%12b}; then the expansion of the %-construct
1465text property. 1465will have that same text property.
1466 1466
1467@item 1467@item
1468Use a list containing @code{:eval @var{form}} in the mode-line data 1468Use a list containing @code{:eval @var{form}} in the mode-line data
1469structure, and make @var{form} evaluate to a string that has a 1469structure, and make @var{form} evaluate to a string that has a
1470@code{keymap} property. 1470@code{local-map} property.
1471@end enumerate 1471@end enumerate
1472 1472
1473 You use the @code{keymap} property to specify a keymap. Like any 1473 You use the @code{local-map} property to specify a keymap. Like any
1474keymap, it can bind character keys and function keys; but that has no 1474keymap, it can bind character keys and function keys; but that has no
1475effect, since it is impossible to move point into the mode line. This 1475effect, since it is impossible to move point into the mode line. This
1476keymap can only take real effect for mouse clicks. 1476keymap can only take real effect for mouse clicks.
diff --git a/lispref/text.texi b/lispref/text.texi
index f50c8913518..ac157f70304 100644
--- a/lispref/text.texi
+++ b/lispref/text.texi
@@ -2659,23 +2659,16 @@ move the mouse onto that text, Emacs displays that string in the echo
2659area, or in the tooltip window. This feature is used in the mode line. 2659area, or in the tooltip window. This feature is used in the mode line.
2660It is available starting in Emacs 21. 2660It is available starting in Emacs 21.
2661 2661
2662@item keymap 2662@item local-map
2663@cindex keymap of character 2663@cindex keymap of character
2664@kindex keymap @r{(text property)} 2664@kindex local-map @r{(text property)}
2665You can specify a different keymap for some of the text in a buffer by 2665You can specify a different keymap for some of the text in a buffer by
2666means of the @code{keymap} property. The property's value for the 2666means of the @code{local-map} property. The property's value for the
2667character after point, if non-@code{nil}, is used for key lookup instead 2667character after point, if non-@code{nil}, is used for key lookup instead
2668of the buffer's local map. If the property value is a symbol, the 2668of the buffer's local map. If the property value is a symbol, the
2669symbol's function definition is used as the keymap. @xref{Active 2669symbol's function definition is used as the keymap. @xref{Active
2670Keymaps}. 2670Keymaps}.
2671 2671
2672@item local-map
2673@cindex keymap of character
2674@kindex local-map @r{(text property)}
2675This property is like the @code{keymap} property, except that it doesn't
2676replace the buffer's local map. Keys not defined in the keymap
2677specified with @code{local-map} are looked up in the buffer's local map.
2678
2679@item syntax-table 2672@item syntax-table
2680The @code{syntax-table} property overrides what the syntax table says 2673The @code{syntax-table} property overrides what the syntax table says
2681about this particular character. @xref{Syntax Properties}. 2674about this particular character. @xref{Syntax Properties}.
@@ -3069,7 +3062,7 @@ file to visit, based on the position found in the event.
3069 3062
3070 Instead of defining a mouse command for the major mode, you can define 3063 Instead of defining a mouse command for the major mode, you can define
3071a key binding for the clickable text itself, using the @code{local-map} 3064a key binding for the clickable text itself, using the @code{local-map}
3072or @code{keymap} text properties: 3065text property:
3073 3066
3074@example 3067@example
3075(let ((map (make-sparse-keymap))) 3068(let ((map (make-sparse-keymap)))
diff --git a/src/ChangeLog b/src/ChangeLog
index 5944c18a4f2..a66a6291900 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -57,7 +57,7 @@
57 * callproc.c (Fcall_process): Always encode an argument string if 57 * callproc.c (Fcall_process): Always encode an argument string if
58 it is multibyte. Setup src_multibyte and dst_multibyte members of 58 it is multibyte. Setup src_multibyte and dst_multibyte members of
59 process_coding properly. 59 process_coding properly.
60w 60
61 * category.c (Fmodify_category_entry): Use SPLIT_CHAR, not 61 * category.c (Fmodify_category_entry): Use SPLIT_CHAR, not
62 SPLIT_NON_ASCII_CHAR. 62 SPLIT_NON_ASCII_CHAR.
63 63