Variable: smerge-refine-forward-function
smerge-refine-forward-function is a variable defined in
smerge-mode.el.gz.
Value
smerge--refine-forward
Documentation
Function used to determine an "atomic" element.
You can set it to forward-char to get char-level granularity.
Its behavior has mainly two restrictions:
- if this function encounters a newline, it's important that it stops right
after the newline.
This only matters if smerge-refine-ignore-whitespace is nil.
- it needs to be unaffected by changes performed by the preproc argument
to smerge-refine-regions.
This only matters if smerge-refine-weight-hack is nil.
Source Code
;; Defined in /usr/src/emacs/lisp/vc/smerge-mode.el.gz
;;; Refined change highlighting
(defvar smerge-refine-forward-function #'smerge--refine-forward
"Function used to determine an \"atomic\" element.
You can set it to `forward-char' to get char-level granularity.
Its behavior has mainly two restrictions:
- if this function encounters a newline, it's important that it stops right
after the newline.
This only matters if `smerge-refine-ignore-whitespace' is nil.
- it needs to be unaffected by changes performed by the `preproc' argument
to `smerge-refine-regions'.
This only matters if `smerge-refine-weight-hack' is nil.")