diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2012-07-06 09:07:44 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2012-07-06 09:07:44 +0400 |
commit | 657924ff58fc22a6e57dc8366a20dadf97324c63 (patch) | |
tree | 94e256617a34f005119bcf7481bbbaa41c19a63f /lisp/xml.el | |
parent | 6edc3d285d0495d69888018758371abfa4752327 (diff) | |
download | emacs-657924ff58fc22a6e57dc8366a20dadf97324c63.tar.gz emacs-657924ff58fc22a6e57dc8366a20dadf97324c63.tar.bz2 emacs-657924ff58fc22a6e57dc8366a20dadf97324c63.zip |
Introduce fast path for the widely used marker operation.
* alloc.c (build_marker): New function.
* lisp.h (build_marker): New prototype.
* buffer.c (clone_per_buffer_values, Fmake_indirect_buffer): Use it.
* composite.c (autocmp_chars): Likewise.
* editfns.c (buildmark): Remove.
(Fpoint_marker, Fpoint_min_marker, Fpoint_max_marker)
(save_restriction_save): Use build_marker.
* marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos): Likewise.
* window.c (save_window_save): Likewise.
Diffstat (limited to 'lisp/xml.el')
0 files changed, 0 insertions, 0 deletions