* lisp/progmodes/subword.el (subword-find-word-boundary): Move point to
correct spot before search.
Fixes: debbugs:17580
2014-05-24 Daniel Colascione <dancol@dancol.org>
+ * progmodes/subword.el (subword-find-word-boundary): Move point to
+ correct spot before search. (Bug#17580)
+
* emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
breaking the build.
(save-restriction
(if (< pos limit)
(progn
+ (goto-char pos)
(narrow-to-region (point-min) limit)
(funcall subword-forward-function))
+ (goto-char (1+ pos))
(narrow-to-region limit (point-max))
(funcall subword-backward-function))
(point))))))