summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/edebug.el
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2020-04-07 10:10:04 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2020-04-11 17:04:57 +0200
commita79019c16b23f40c29509b6c0bf6f79d87f18c1e (patch)
tree54586d19a1dc42b291095e87cb750dbadedcc615 /lisp/emacs-lisp/edebug.el
parent1988ffbaed709dfc71126efbf06644476830f07e (diff)
downloademacs-a79019c16b23f40c29509b6c0bf6f79d87f18c1e.tar.gz
emacs-a79019c16b23f40c29509b6c0bf6f79d87f18c1e.tar.bz2
emacs-a79019c16b23f40c29509b6c0bf6f79d87f18c1e.zip
Allow ENCODE_FILE and DECODE_FILE to use no-copy conversion
They already did return their argument under some circumstances; this change broadens it to further reduce allocation in common cases (bug#40407). * src/coding.c (convert_string_nocopy): New function. (decode_file_name, encode_file_name): Use convert_string_nocopy. * src/coding.h (ENCODE_FILE, DECODE_FILE): Note the nocopy semantics.
Diffstat (limited to 'lisp/emacs-lisp/edebug.el')
0 files changed, 0 insertions, 0 deletions