diff options
| author | Miles Bader | 2007-05-29 23:19:43 +0000 |
|---|---|---|
| committer | Miles Bader | 2007-05-29 23:19:43 +0000 |
| commit | c07318f44aac0ac9048e7c2032e3c0a192f06942 (patch) | |
| tree | 75847f9138c7e6de40cff6b207596ff15b35b2c8 /src | |
| parent | 46646c110cf434c03ae0ad135f7c3039a623e505 (diff) | |
| parent | dafea68ca287907d4ad3f76b3064ad4de8abf7f8 (diff) | |
| download | emacs-c07318f44aac0ac9048e7c2032e3c0a192f06942.tar.gz emacs-c07318f44aac0ac9048e7c2032e3c0a192f06942.zip | |
Merge from emacs--rel--22
Patches applied:
* emacs--rel--22 (patch 29-32)
- Update from CVS
2007-05-29 Martin Rudalics <rudalics@gmx.at>
* lisp/textmodes/table.el (table--point-entered-cell-function)
(table--point-left-cell-function): Bind
`inhibit-point-motion-hooks' to t.
2007-05-28 Chong Yidong <cyd@stupidchicken.com>
* lisp/textmodes/sgml-mode.el (sgml-point-entered): Use condition-case.
2007-05-27 Tetsurou Okazaki <okazaki@be.to> (tiny change)
* lisp/log-edit.el (log-edit-changelog-paragraph): Return point-max
as the end of the ChangeLog paragraph when it ends without a line
termination.
2007-05-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* src/xdisp.c (redisplay_internal): Bind inhibit-point-motion-hooks to t
around current_column call.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-778
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/xdisp.c | 8 |
2 files changed, 12 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index da88627c009..1ffb57b761a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2007-05-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 2 | |||
| 3 | * xdisp.c (redisplay_internal): Bind inhibit-point-motion-hooks to t | ||
| 4 | around current_column call. | ||
| 5 | |||
| 1 | 2007-05-26 Dan Nicolaescu <dann@ics.uci.edu> | 6 | 2007-05-26 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 7 | ||
| 3 | * xfaces.c (syms_of_xfaces): Delete stray semicolon. | 8 | * xfaces.c (syms_of_xfaces): Delete stray semicolon. |
diff --git a/src/xdisp.c b/src/xdisp.c index a5ebe844696..55ab39fd5af 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -10836,7 +10836,7 @@ redisplay_internal (preserve_echo_area) | |||
| 10836 | int must_finish = 0; | 10836 | int must_finish = 0; |
| 10837 | struct text_pos tlbufpos, tlendpos; | 10837 | struct text_pos tlbufpos, tlendpos; |
| 10838 | int number_of_visible_frames; | 10838 | int number_of_visible_frames; |
| 10839 | int count; | 10839 | int count, count1; |
| 10840 | struct frame *sf; | 10840 | struct frame *sf; |
| 10841 | int polling_stopped_here = 0; | 10841 | int polling_stopped_here = 0; |
| 10842 | 10842 | ||
| @@ -10974,6 +10974,10 @@ redisplay_internal (preserve_echo_area) | |||
| 10974 | update_mode_lines++; | 10974 | update_mode_lines++; |
| 10975 | } | 10975 | } |
| 10976 | 10976 | ||
| 10977 | /* Avoid invocation of point motion hooks by `current_column' below. */ | ||
| 10978 | count1 = SPECPDL_INDEX (); | ||
| 10979 | specbind (Qinhibit_point_motion_hooks, Qt); | ||
| 10980 | |||
| 10977 | /* If %c is in the mode line, update it if needed. */ | 10981 | /* If %c is in the mode line, update it if needed. */ |
| 10978 | if (!NILP (w->column_number_displayed) | 10982 | if (!NILP (w->column_number_displayed) |
| 10979 | /* This alternative quickly identifies a common case | 10983 | /* This alternative quickly identifies a common case |
| @@ -10985,6 +10989,8 @@ redisplay_internal (preserve_echo_area) | |||
| 10985 | != (int) current_column ())) /* iftc */ | 10989 | != (int) current_column ())) /* iftc */ |
| 10986 | w->update_mode_line = Qt; | 10990 | w->update_mode_line = Qt; |
| 10987 | 10991 | ||
| 10992 | unbind_to (count1, Qnil); | ||
| 10993 | |||
| 10988 | FRAME_SCROLL_BOTTOM_VPOS (XFRAME (w->frame)) = -1; | 10994 | FRAME_SCROLL_BOTTOM_VPOS (XFRAME (w->frame)) = -1; |
| 10989 | 10995 | ||
| 10990 | /* The variable buffer_shared is set in redisplay_window and | 10996 | /* The variable buffer_shared is set in redisplay_window and |