FUEL: make `fuel-refactor-inline-word` work with hyphenated words
The emacs command `kill-word`, used by `fuel-factor-inline-word` does not delete the complete word if that contains hyphens. Using `kill-sexps` instead exhibits correct behavior.clean-macosx-x86-32
parent
4a7644e509
commit
13b0da9182
|
@ -195,7 +195,7 @@ The word's body is put in a new method for the generic."
|
|||
(let ((code (fuel-refactor--word-def word)))
|
||||
(unless code (error "Word's definition not found"))
|
||||
(factor-beginning-of-symbol)
|
||||
(kill-word 1)
|
||||
(kill-sexp 1)
|
||||
(let ((start (point)))
|
||||
(insert code)
|
||||
(save-excursion (font-lock-fontify-region start (point)))
|
||||
|
|
Loading…
Reference in New Issue