Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit f190ed0da0abff4f49fedccaed93f5d6bcc19294 1 parent 417d7de
@nelhage authored
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 "\\>")))
Please sign in to comment.
Something went wrong with that request. Please try again.