Skip to content
Browse files

Make the goto-label functions to use ddx-label-at-point.

  • Loading branch information...
1 parent 417d7de commit f190ed0da0abff4f49fedccaed93f5d6bcc19294 @nelhage committed Mar 21, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 ddx.el
View
4 ddx.el
@@ -108,14 +108,14 @@
(defun ddx-goto-label (&optional label)
(interactive)
(if (not label)
- (setq label (thing-at-point 'word)))
+ (setq label (ddx-label-at-point)))
(beginning-of-buffer)
(re-search-forward (concat "^" label ":")))
(defun ddx-smali-goto-label (&optional label)
(interactive)
(if (not label)
- (setq label (thing-at-point 'word)))
+ (setq label (ddx-label-at-point)))
(beginning-of-buffer)
(re-search-forward (concat "^\\s +:" label "\\>")))

0 comments on commit f190ed0

Please sign in to comment.
Something went wrong with that request. Please try again.