File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -87,11 +87,10 @@ find `pwd`/ \( -name tmp_install -prune -o -name tmp_check -prune \) \
87
87
-o -name " *.sql" -o -name " *.p[lm]" \) -type f -print |
88
88
xargs $PROG $TAGS_OPT $TAGS_FILE $FLAGS $IGNORE_IDENTIFIES
89
89
90
- # Exuberant tags has a header that we cannot sort in with the other entries
91
- # so we skip the sort step
92
- # Why are we sorting this? I guess some tag implementation need this,
93
- # particularly for append mode. bjm 2012-02-24
94
- if [ ! " $IS_EXUBERANT " ]
90
+ # Sorting non-Exuberant ctags file allows for fast searching of the tags file.
91
+ # Since etags file has a header that we cannot sort in with the other entries
92
+ # we skip the sort step.
93
+ if [ ! " $IS_EXUBERANT " -a ! " $EMACS_MODE " ]
95
94
then LC_ALL=C
96
95
export LC_ALL
97
96
sort $TAGS_FILE > /tmp/$$ && mv /tmp/$$ $TAGS_FILE
You can’t perform that action at this time.
0 commit comments