diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2015-09-13 16:47:50 +0200 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2015-09-13 16:47:50 +0200 |
commit | 767de6cadfe0c553a9f07a33eaa5f96252bb78b8 (patch) | |
tree | 0e79da4750fa68601aa8496ec3d3702a54c9b1eb /helm-tags.el | |
parent | c224cbf79c769500edaaf1b7d3318233632b4a0c (diff) |
Add comments in helm-tags no code change (#1164).
Diffstat (limited to 'helm-tags.el')
-rw-r--r-- | helm-tags.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/helm-tags.el b/helm-tags.el index 9f03e750..3679c82d 100644 --- a/helm-tags.el +++ b/helm-tags.el @@ -294,6 +294,11 @@ This function aggregates three sources of tag files: (str (if (region-active-p) (buffer-substring-no-properties (region-beginning) (region-end)) + ;; Use a raw syntax-table to determine tap. + ;; This may be wrong when calling etags + ;; with hff from a buffer that use + ;; a different syntax, but most of the time it + ;; should be better. (with-syntax-table (standard-syntax-table) (thing-at-point 'symbol))))) (if (cl-notany 'file-exists-p tag-files) |