From 6d0164cac30774f12a8f6ab6d5db3901f8d8e615 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Fri, 29 Jan 2021 20:51:43 +0000 Subject: Don't set linktext environment variable if already set --- em | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/em b/em index be290f7..f2118a3 100755 --- a/em +++ b/em @@ -10,7 +10,7 @@ if(~ $#* 0){ if not file=$1 -linktext=link +if(~ $#linktext 0) linktext=link hrefs=`' '{aux/emcollect $file} for(href in $hrefs){ -- cgit v1.2.3