[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r114559: * xdisp.c (handle_fontified_prop): Prefer p
From: |
Dmitry Antipov |
Subject: |
[Emacs-diffs] trunk r114559: * xdisp.c (handle_fontified_prop): Prefer ptrdiff_t to int where needed. |
Date: |
Mon, 07 Oct 2013 15:12:02 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 114559
revision-id: address@hidden
parent: address@hidden
committer: Dmitry Antipov <address@hidden>
branch nick: trunk
timestamp: Mon 2013-10-07 19:11:17 +0400
message:
* xdisp.c (handle_fontified_prop): Prefer ptrdiff_t to int where needed.
Use bool for boolean.
modified:
src/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1438
src/xdisp.c xdisp.c-20091113204419-o5vbwnq5f7feedwu-240
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2013-10-07 15:03:33 +0000
+++ b/src/ChangeLog 2013-10-07 15:11:17 +0000
@@ -1,6 +1,7 @@
2013-10-07 Dmitry Antipov <address@hidden>
* insdel.c (insert_from_gap): Prefer ptrdiff_t to int where needed.
+ * xdisp.c (handle_fontified_prop): Likewise. Use bool for boolean.
2013-10-07 Paul Eggert <address@hidden>
=== modified file 'src/xdisp.c'
--- a/src/xdisp.c 2013-10-04 13:41:10 +0000
+++ b/src/xdisp.c 2013-10-07 15:11:17 +0000
@@ -3698,8 +3698,8 @@
ptrdiff_t count = SPECPDL_INDEX ();
Lisp_Object val;
struct buffer *obuf = current_buffer;
- int begv = BEGV, zv = ZV;
- int old_clip_changed = current_buffer->clip_changed;
+ ptrdiff_t begv = BEGV, zv = ZV;
+ bool old_clip_changed = current_buffer->clip_changed;
val = Vfontification_functions;
specbind (Qfontification_functions, Qnil);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r114559: * xdisp.c (handle_fontified_prop): Prefer ptrdiff_t to int where needed.,
Dmitry Antipov <=