summaryrefslogtreecommitdiff
path: root/lisp/thingatpt.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2011-06-01 11:28:54 -0300
committerStefan Monnier <monnier@iro.umontreal.ca>2011-06-01 11:28:54 -0300
commitec8bd86f04daf51f8a65ed5380975185e16c9e38 (patch)
tree8814610a4cfb58ec00b34d690967e675ad51bfb6 /lisp/thingatpt.el
parent2462470b9ec3876a54f1ce4c70561c478ceaf714 (diff)
downloademacs-ec8bd86f04daf51f8a65ed5380975185e16c9e38.tar.gz
* lisp/thingatpt.el (forward-whitespace): Typo.
Diffstat (limited to 'lisp/thingatpt.el')
-rw-r--r--lisp/thingatpt.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/thingatpt.el b/lisp/thingatpt.el
index 22370aa9161..8f797d13103 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)) \n)
+ (or (eq (char-after (match-beginning 0)) ?\n)
(skip-chars-backward " \t")))
(setq arg (1+ arg)))))