diff options
Diffstat (limited to 'src/editfns.c')
| -rw-r--r-- | src/editfns.c | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/src/editfns.c b/src/editfns.c index 37f85b3ada3..cd15f6569aa 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -76,16 +76,6 @@ static void update_buffer_properties (ptrdiff_t, ptrdiff_t); | |||
| 76 | # define HAVE_TM_GMTOFF false | 76 | # define HAVE_TM_GMTOFF false |
| 77 | #endif | 77 | #endif |
| 78 | 78 | ||
| 79 | static Lisp_Object Qbuffer_access_fontify_functions; | ||
| 80 | |||
| 81 | /* Symbol for the text property used to mark fields. */ | ||
| 82 | |||
| 83 | Lisp_Object Qfield; | ||
| 84 | |||
| 85 | /* A special value for Qfield properties. */ | ||
| 86 | |||
| 87 | static Lisp_Object Qboundary; | ||
| 88 | |||
| 89 | /* The startup value of the TZ environment variable; null if unset. */ | 79 | /* The startup value of the TZ environment variable; null if unset. */ |
| 90 | static char const *initial_tz; | 80 | static char const *initial_tz; |
| 91 | 81 | ||
| @@ -915,17 +905,11 @@ save_excursion_restore (Lisp_Object info) | |||
| 915 | if (! NILP (tem)) | 905 | if (! NILP (tem)) |
| 916 | { | 906 | { |
| 917 | if (! EQ (omark, nmark)) | 907 | if (! EQ (omark, nmark)) |
| 918 | { | 908 | run_hook (intern ("activate-mark-hook")); |
| 919 | tem = intern ("activate-mark-hook"); | ||
| 920 | Frun_hooks (1, &tem); | ||
| 921 | } | ||
| 922 | } | 909 | } |
| 923 | /* If mark has ceased to be active, run deactivate hook. */ | 910 | /* If mark has ceased to be active, run deactivate hook. */ |
| 924 | else if (! NILP (tem1)) | 911 | else if (! NILP (tem1)) |
| 925 | { | 912 | run_hook (intern ("deactivate-mark-hook")); |
| 926 | tem = intern ("deactivate-mark-hook"); | ||
| 927 | Frun_hooks (1, &tem); | ||
| 928 | } | ||
| 929 | 913 | ||
| 930 | /* If buffer was visible in a window, and a different window was | 914 | /* If buffer was visible in a window, and a different window was |
| 931 | selected, and the old selected window is still showing this | 915 | selected, and the old selected window is still showing this |
| @@ -5009,8 +4993,12 @@ functions if all the text being accessed has this property. */); | |||
| 5009 | defsubr (&Sregion_beginning); | 4993 | defsubr (&Sregion_beginning); |
| 5010 | defsubr (&Sregion_end); | 4994 | defsubr (&Sregion_end); |
| 5011 | 4995 | ||
| 4996 | /* Symbol for the text property used to mark fields. */ | ||
| 5012 | DEFSYM (Qfield, "field"); | 4997 | DEFSYM (Qfield, "field"); |
| 4998 | |||
| 4999 | /* A special value for Qfield properties. */ | ||
| 5013 | DEFSYM (Qboundary, "boundary"); | 5000 | DEFSYM (Qboundary, "boundary"); |
| 5001 | |||
| 5014 | defsubr (&Sfield_beginning); | 5002 | defsubr (&Sfield_beginning); |
| 5015 | defsubr (&Sfield_end); | 5003 | defsubr (&Sfield_end); |
| 5016 | defsubr (&Sfield_string); | 5004 | defsubr (&Sfield_string); |