diff options
| author | Gerd Moellmann | 2000-05-23 09:44:28 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-05-23 09:44:28 +0000 |
| commit | ce75fd23484c39eaf350af874a3ddd82661ed3a9 (patch) | |
| tree | 0c7b729638653f9041a7945438d23a828bc31848 | |
| parent | d1e4948d222344fc08d300536986022c7ca6aa21 (diff) | |
| download | emacs-ce75fd23484c39eaf350af874a3ddd82661ed3a9.tar.gz emacs-ce75fd23484c39eaf350af874a3ddd82661ed3a9.zip | |
*** empty log message ***
| -rw-r--r-- | etc/NEWS | 5 | ||||
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lispref/display.texi | 12 | ||||
| -rw-r--r-- | lispref/modes.texi | 16 | ||||
| -rw-r--r-- | lispref/text.texi | 15 | ||||
| -rw-r--r-- | src/ChangeLog | 2 |
6 files changed, 21 insertions, 31 deletions
| @@ -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 | ||
| 18 | 2000-05-22 Sam Steingold <sds@gnu.org> | 18 | 2000-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 | ||
| 23 | 2000-05-22 Dave Love <fx@gnu.org> | 23 | 2000-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. | |||
| 895 | If this property is non-@code{nil}, the overlay is deleted automatically | 895 | If this property is non-@code{nil}, the overlay is deleted automatically |
| 896 | if it ever becomes empty (i.e., if it spans no characters). | 896 | if 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)} |
| 901 | If this property is non-@code{nil}, it specifies a keymap for a portion | 901 | If this property is non-@code{nil}, it specifies a keymap for a portion |
| 902 | of the text. The property's value replaces the buffer's local map, when | 902 | of the text. The property's value replaces the buffer's local map, when |
| 903 | the character after point is within the overlay. @xref{Active Keymaps}. | 903 | the 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)} | ||
| 909 | This property is like the @code{keymap} property, except that it doesn't | ||
| 910 | replace the buffer's local map. Keys not defined in the keymap | ||
| 911 | specified 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 |
| 1450 | mode line. The @code{face} property affects the appearance of text; the | 1450 | mode 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 |
| 1455 | line: | 1455 | line: |
| 1456 | 1456 | ||
| 1457 | @enumerate | 1457 | @enumerate |
| 1458 | @item | 1458 | @item |
| 1459 | Put a string with the @code{keymap} property directly into the mode-line | 1459 | Put a string with the @code{local-map} property directly into the |
| 1460 | data structure. | 1460 | mode-line data structure. |
| 1461 | 1461 | ||
| 1462 | @item | 1462 | @item |
| 1463 | Put a @code{keymap} property on a mode-line %-construct such as | 1463 | Put a @code{local-map} property on a mode-line %-construct |
| 1464 | @samp{%12b}; then the expansion of the %-construct will have that same | 1464 | such as @samp{%12b}; then the expansion of the %-construct |
| 1465 | text property. | 1465 | will have that same text property. |
| 1466 | 1466 | ||
| 1467 | @item | 1467 | @item |
| 1468 | Use a list containing @code{:eval @var{form}} in the mode-line data | 1468 | Use a list containing @code{:eval @var{form}} in the mode-line data |
| 1469 | structure, and make @var{form} evaluate to a string that has a | 1469 | structure, 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 |
| 1474 | keymap, it can bind character keys and function keys; but that has no | 1474 | keymap, it can bind character keys and function keys; but that has no |
| 1475 | effect, since it is impossible to move point into the mode line. This | 1475 | effect, since it is impossible to move point into the mode line. This |
| 1476 | keymap can only take real effect for mouse clicks. | 1476 | keymap 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 | |||
| 2659 | area, or in the tooltip window. This feature is used in the mode line. | 2659 | area, or in the tooltip window. This feature is used in the mode line. |
| 2660 | It is available starting in Emacs 21. | 2660 | It 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)} |
| 2665 | You can specify a different keymap for some of the text in a buffer by | 2665 | You can specify a different keymap for some of the text in a buffer by |
| 2666 | means of the @code{keymap} property. The property's value for the | 2666 | means of the @code{local-map} property. The property's value for the |
| 2667 | character after point, if non-@code{nil}, is used for key lookup instead | 2667 | character after point, if non-@code{nil}, is used for key lookup instead |
| 2668 | of the buffer's local map. If the property value is a symbol, the | 2668 | of the buffer's local map. If the property value is a symbol, the |
| 2669 | symbol's function definition is used as the keymap. @xref{Active | 2669 | symbol's function definition is used as the keymap. @xref{Active |
| 2670 | Keymaps}. | 2670 | Keymaps}. |
| 2671 | 2671 | ||
| 2672 | @item local-map | ||
| 2673 | @cindex keymap of character | ||
| 2674 | @kindex local-map @r{(text property)} | ||
| 2675 | This property is like the @code{keymap} property, except that it doesn't | ||
| 2676 | replace the buffer's local map. Keys not defined in the keymap | ||
| 2677 | specified with @code{local-map} are looked up in the buffer's local map. | ||
| 2678 | |||
| 2679 | @item syntax-table | 2672 | @item syntax-table |
| 2680 | The @code{syntax-table} property overrides what the syntax table says | 2673 | The @code{syntax-table} property overrides what the syntax table says |
| 2681 | about this particular character. @xref{Syntax Properties}. | 2674 | about 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 |
| 3071 | a key binding for the clickable text itself, using the @code{local-map} | 3064 | a key binding for the clickable text itself, using the @code{local-map} |
| 3072 | or @code{keymap} text properties: | 3065 | text 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. |
| 60 | w | 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 | ||