(save-match-data
(when point (goto-char point))
(unless (bobp) (backward-char))
- (while (looking-at "[[:alnum:]_]" t)
+ (while (looking-at-p "[[:alnum:]_]")
(backward-char))
- (when (looking-at ":[[:lower:]]")
+ (when (looking-at-p ":[[:lower:]]")
(unless (bobp) (backward-char))
- (while (looking-at "[[:alnum:]_]" t)
+ (while (looking-at-p "[[:alnum:]_]")
(backward-char)))
(forward-char)
- (when (looking-at "[[:lower:]]" t)
+ (when (looking-at-p "[[:lower:]]")
(let ((start (point)))
- (while (looking-at "[[:alnum:]:_]" t)
+ (while (looking-at-p "[[:alnum:]:_]")
(forward-char))
(cons start (point))))))))