Commit c733d916 authored by Committed by Noam PostavskyBrowse files
Stop abbrev-prefix-mark from adding extra newline (Bug#25767)
`abbrev--before-point' does not adjust `pos' to account for when it deletes the "-" left by abbrev-prefix-mark. Therefore, when `abbrev-before-point' goes to restore point, it moves point one character too far forward. * lisp/abbrev.el (abbrev--before-point): Adjust pos when deleting "-".
Showing with 4 additions and 3 deletions