diff options
Diffstat (limited to 'lisp/progmodes/subword.el')
-rw-r--r-- | lisp/progmodes/subword.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/subword.el b/lisp/progmodes/subword.el index 0f2c9431f6e..b0df90995bf 100644 --- a/lisp/progmodes/subword.el +++ b/lisp/progmodes/subword.el @@ -332,7 +332,7 @@ as parts of words: e.g., in `superword-mode', searching subwords in order to avoid unwanted reentrancy.") (defun subword-setup-buffer () - (set (make-local-variable 'find-word-boundary-function-table) + (setq-local find-word-boundary-function-table (if (or subword-mode superword-mode) subword-find-word-boundary-function-table subword-empty-char-table))) |