]> git.eshelyaron.com Git - emacs.git/commit
substitute-command-keys keeps quotes’ text props
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Apr 2016 15:21:34 +0000 (08:21 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Apr 2016 15:23:00 +0000 (08:23 -0700)
commit32364bbbaa8bda68228a3b0191c0b340c252d2a2
tree4629f3a685ae49f87e075610915bd722fb70aa66
parent567ab529f313bc8fe68d25b2ca95f5987cce81a1
substitute-command-keys keeps quotes’ text props

Problem reported by Clément Pit--Claudel (Bug#23254).
* src/doc.c: Include intervals.h.
(Fsubstitute_command_keys): If the only substitutions are for
quotes, copy the source string’s text properties too, since no
substring lengths have changed.
src/doc.c