`really-word' arg is non-nil.
+2003-07-18 John Paul Wallington <jpw@gnu.org>
+
+ * simple.el (current-word): Don't include punctuation char when
+ `really-word' arg is non-nil.
+
2003-07-17 Martin Stjernholm <bug-cc-mode@gnu.org>
* progmodes/awk-mode.el: Obsoleted by the AWK support in CC Mode -
If optional arg REALLY-WORD is non-nil, it finds just a word."
(save-excursion
(let* ((oldpoint (point)) (start (point)) (end (point))
- (syntaxes (if really-word "w_" "w"))
+ (syntaxes (if really-word "w" "w_"))
(not-syntaxes (concat "^" syntaxes)))
(skip-syntax-backward syntaxes) (setq start (point))
(goto-char oldpoint)