diff options
| author | Jim Blandy | 1992-07-06 22:33:26 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-07-06 22:33:26 +0000 |
| commit | d54f9e30793ec98b94df36ad94755f4dee726d9f (patch) | |
| tree | db59716a3862fbe173e4bfc972c16b59db993684 | |
| parent | 94074b1950f340ec46d86ddc61829993fcb5073b (diff) | |
| download | emacs-d54f9e30793ec98b94df36ad94755f4dee726d9f.tar.gz emacs-d54f9e30793ec98b94df36ad94755f4dee726d9f.zip | |
*** empty log message ***
| -rw-r--r-- | lisp/progmodes/etags.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index 3f2f911daed..d869d0cdca7 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el | |||
| @@ -42,6 +42,11 @@ A directory name is ok too; it means file TAGS in that directory." | |||
| 42 | (concat default-directory "TAGS") | 42 | (concat default-directory "TAGS") |
| 43 | t))) | 43 | t))) |
| 44 | (setq file (expand-file-name file)) | 44 | (setq file (expand-file-name file)) |
| 45 | ;; Get rid of the prefixes added by the automounter. | ||
| 46 | (if (and (string-match "^/tmp_mnt/" file) | ||
| 47 | (file-exists-p (file-name-directory | ||
| 48 | (substring file (1- (match-end 0)))))) | ||
| 49 | (setq file (substring file (1- (match-end 0))))) | ||
| 45 | (if (file-directory-p file) | 50 | (if (file-directory-p file) |
| 46 | (setq file (concat file "TAGS"))) | 51 | (setq file (concat file "TAGS"))) |
| 47 | (setq tag-table-files nil | 52 | (setq tag-table-files nil |