aboutsummaryrefslogtreecommitdiffstats
path: root/src/editfns.c
diff options
context:
space:
mode:
authorK. Handa2015-01-07 22:51:41 +0900
committerK. Handa2015-01-07 22:51:41 +0900
commit88bc8332eb14bcc4780fd3fe3dd4de2205c31dbf (patch)
tree18da116400703b67738bdbbd38cc4abf4c1e929f /src/editfns.c
parent3f79d3131629f73da16ec121d2a0056f11b70e65 (diff)
parent95295df44cc2b6e0e2442aeff96b0fe2ceac405c (diff)
downloademacs-88bc8332eb14bcc4780fd3fe3dd4de2205c31dbf.tar.gz
emacs-88bc8332eb14bcc4780fd3fe3dd4de2205c31dbf.zip
Merge branch master of git.sv.gnu.org:/srv/git/emacs.
Diffstat (limited to 'src/editfns.c')
-rw-r--r--src/editfns.c26
1 files changed, 7 insertions, 19 deletions
diff --git a/src/editfns.c b/src/editfns.c
index 2a7dd9209ae..cd15f6569aa 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -1,6 +1,6 @@
1/* Lisp functions pertaining to editing. 1/* Lisp functions pertaining to editing.
2 2
3Copyright (C) 1985-1987, 1989, 1993-2014 Free Software Foundation, Inc. 3Copyright (C) 1985-1987, 1989, 1993-2015 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
@@ -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
79static Lisp_Object Qbuffer_access_fontify_functions;
80
81/* Symbol for the text property used to mark fields. */
82
83Lisp_Object Qfield;
84
85/* A special value for Qfield properties. */
86
87static 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. */
90static char const *initial_tz; 80static 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);