emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

why is `propertize' defined in C?


From: Drew Adams
Subject: why is `propertize' defined in C?
Date: Fri, 21 Oct 2011 09:49:44 -0700

Does the C definition of `propertize' do anything other than this? 

(defun propertize (string &rest properties)
  (let ((new  (copy-sequence string))
    (add-text-properties 0 (length new) properties new)
    new))

(Well, to get the exact same result as the C version, PROPERTIES would need to
be reversed before adding.)

What's the point of defining something like this in C?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]