summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormmcc <mmcc@cvs.openbsd.org>2016-01-29 04:51:27 +0000
committermmcc <mmcc@cvs.openbsd.org>2016-01-29 04:51:27 +0000
commit0c1a0fae45c6232c2613939ffbdd0308d7074280 (patch)
tree46796e21b2f47e5b3a30d070aa1bcdf7a527d759
parent43acab1d2a8cf45e7bb1bb146150ecc65aa0c296 (diff)
remove superfluous macro
ok nicm
-rw-r--r--usr.bin/less/defines.h1
-rw-r--r--usr.bin/less/filename.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/less/defines.h b/usr.bin/less/defines.h
index a1e534b2d09..03542f86595 100644
--- a/usr.bin/less/defines.h
+++ b/usr.bin/less/defines.h
@@ -23,7 +23,6 @@
* Default shell metacharacters and meta-escape character.
*/
#define DEF_METACHARS "; *?\t\n'\"()<>[]|&^`#\\$%=~"
-#define DEF_METAESCAPE "\\"
#define CMDBUF_SIZE 2048 /* Buffer for multichar commands */
#define UNGOT_SIZE 200 /* Max chars to unget() */
diff --git a/usr.bin/less/filename.c b/usr.bin/less/filename.c
index c22a7e67ef4..9c5deee706e 100644
--- a/usr.bin/less/filename.c
+++ b/usr.bin/less/filename.c
@@ -76,7 +76,7 @@ get_meta_escape(void)
s = lgetenv("LESSMETAESCAPE");
if (s == NULL)
- s = DEF_METAESCAPE;
+ s = "\\";
return (s);
}