[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r103987: Minor cleanup in src/textpro
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r103987: Minor cleanup in src/textprop.c. |
Date: |
Sun, 24 Apr 2011 19:28:57 +0300 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 103987
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Sun 2011-04-24 19:28:57 +0300
message:
Minor cleanup in src/textprop.c.
src/textprop.c (syms_of_textprop): Remove dead code.
(copy_text_properties): Delete obsolete commentary about an
interface that was deleted long ago. Fix typos in the description
of arguments.
modified:
src/ChangeLog
src/textprop.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2011-04-24 12:48:30 +0000
+++ b/src/ChangeLog 2011-04-24 16:28:57 +0000
@@ -1,5 +1,10 @@
2011-04-24 Eli Zaretskii <address@hidden>
+ * textprop.c (syms_of_textprop): Remove dead code.
+ (copy_text_properties): Delete obsolete commentary about an
+ interface that was deleted long ago. Fix typos in the description
+ of arguments.
+
* msdos.c (XMenuActivate, XMenuAddSelection): Adjust argument list
to changes in oldXMenu/XMenu.h from 2011-04-16.
<menu_help_message, prev_menu_help_message>: Constify.
=== modified file 'src/textprop.c'
--- a/src/textprop.c 2011-04-23 17:19:56 +0000
+++ b/src/textprop.c 2011-04-24 16:28:57 +0000
@@ -1756,15 +1756,9 @@
}
-/* I don't think this is the right interface to export; how often do you
- want to do something like this, other than when you're copying objects
- around?
-
- I think it would be better to have a pair of functions, one which
- returns the text properties of a region as a list of ranges and
- plists, and another which applies such a list to another object. */
-
-/* Add properties from SRC to SRC of SRC, starting at POS in DEST.
+/* Copying properties between objects. */
+
+/* Add properties from START to END of SRC, starting at POS in DEST.
SRC and DEST may each refer to strings or buffers.
Optional sixth argument PROP causes only that property to be copied.
Properties are copied to DEST as if by `add-text-properties'.
@@ -2304,6 +2298,4 @@
defsubr (&Sremove_list_of_text_properties);
defsubr (&Stext_property_any);
defsubr (&Stext_property_not_all);
-/* defsubr (&Serase_text_properties); */
-/* defsubr (&Scopy_text_properties); */
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r103987: Minor cleanup in src/textprop.c.,
Eli Zaretskii <=