diff options
| author | Richard M. Stallman | 1993-08-01 06:04:06 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-08-01 06:04:06 +0000 |
| commit | cf3623c64c2288f344416115c3ebf0a2bb7c7106 (patch) | |
| tree | 734279b27f313512b956ef7c39fc121e68b38b40 | |
| parent | b70af8d72fc78d50a39e128f5563b432f04d257a (diff) | |
| download | emacs-cf3623c64c2288f344416115c3ebf0a2bb7c7106.tar.gz emacs-cf3623c64c2288f344416115c3ebf0a2bb7c7106.zip | |
(etags-goto-tag-location): Handle selective display.
| -rw-r--r-- | lisp/progmodes/etags.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index e72fdb3e7cd..97ca5f816e8 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el | |||
| @@ -950,7 +950,9 @@ See documentation of variable `tags-file-name'." | |||
| 950 | ;; costs about as much as searching 2000 chars. | 950 | ;; costs about as much as searching 2000 chars. |
| 951 | (offset 1000) | 951 | (offset 1000) |
| 952 | (found nil) | 952 | (found nil) |
| 953 | (pat (concat "^" (regexp-quote (car tag-info))))) | 953 | (pat (concat (if (eq selective-display t) |
| 954 | "\\(^\\|\^m\\)" "^") | ||
| 955 | (regexp-quote (car tag-info))))) | ||
| 954 | (or startpos | 956 | (or startpos |
| 955 | (setq startpos (point-min))) | 957 | (setq startpos (point-min))) |
| 956 | (while (and (not found) | 958 | (while (and (not found) |