summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rwxr-xr-xemacs/ptags2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/ptags b/emacs/ptags
index 8039153de7..c017e66731 100755
--- a/emacs/ptags
+++ b/emacs/ptags
@@ -36,7 +36,7 @@ case "$1" in
echo "Building TAGS with relative paths"
esac
-emacs=`(which emacs || which xemacs) 2>/dev/null`
+emacs=`(which emacs || which xemacs || echo emacs) 2>/dev/null`
[ -x "$emacs" ] || { echo "can't find emacs or xemacs in PATH"; exit 1; }
# Insure proper order (.h after .c, .xs before .c in subdirs):