X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/067a69a2d38db30190997dc48dbf82988ffa3583..6420d28b9ab9c09b69992e05e0e63c3bbaf2646d:/lisp/thingatpt.el diff --git a/lisp/thingatpt.el b/lisp/thingatpt.el index a2aeb2e6d6..8f797d1310 100644 --- a/lisp/thingatpt.el +++ b/lisp/thingatpt.el @@ -402,7 +402,7 @@ with angle brackets.") (re-search-forward "[ \t]+\\|\n" nil 'move arg) (while (< arg 0) (if (re-search-backward "[ \t]+\\|\n" nil 'move) - (or (eq (char-after (match-beginning 0)) 10) + (or (eq (char-after (match-beginning 0)) ?\n) (skip-chars-backward " \t"))) (setq arg (1+ arg)))))