We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c2d7bc4 + bdf3709 commit 708f318Copy full SHA for 708f318
drupal/etags.el
@@ -47,12 +47,13 @@
47
"Get function arguments from etags TAGS."
48
(when (and (boundp 'drupal/etags-rootdir)
49
(file-exists-p (concat drupal/etags-rootdir "TAGS")))
50
- (with-current-buffer (find-tag-noselect symbol nil nil)
51
- (goto-char (point-min))
52
- (when (re-search-forward
53
- (format "function\\s-+%s\\s-*(\\([^{]*\\))" symbol)
54
- nil t)
55
- (match-string-no-properties 1)))))
+ (save-excursion
+ (with-current-buffer (find-tag-noselect symbol nil nil)
+ (goto-char (point-min))
+ (when (re-search-forward
+ (format "function\\s-+%s\\s-*(\\([^{]*\\))" symbol)
+ nil t)
56
+ (match-string-no-properties 1))))))
57
58
(add-hook 'drupal-mode-hook #'drupal/etags-enable)
59
0 commit comments