aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorTomas Nordin2025-03-15 04:08:47 +0200
committerDmitry Gutov2025-03-15 04:54:11 +0200
commit4980287e081d3efd29f64973938ca2a0575f521e (patch)
tree1c4d526bf6552abd4257b627d659e112c84553d3 /java
parentaf5a75a0bdd891686c67648bc0fa09ffb7e3ed0d (diff)
downloademacs-4980287e081d3efd29f64973938ca2a0575f521e.tar.gz
emacs-4980287e081d3efd29f64973938ca2a0575f521e.zip
Teach diff-apply-hunk to handle hunks with empty context
* lisp/vc/diff-mode.el (diff-find-source-location): Consider the case when there is no diff context above or below edited lines. (bug#72556) * test/lisp/vc/diff-mode-tests.el: Add tests for undoing hunks from diffs with addtions only in the beginning or end of the source file.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions