aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1993-05-26 21:17:31 +0000
committerRichard M. Stallman1993-05-26 21:17:31 +0000
commita22f4c7d340029af77c597bea1159b00510bb996 (patch)
tree3ec6bef898eb950648920eb7a9cf4db243e43332
parent89ccd65a2415c2d718a8ca72b0f89e991fe0627d (diff)
downloademacs-a22f4c7d340029af77c597bea1159b00510bb996.tar.gz
emacs-a22f4c7d340029af77c597bea1159b00510bb996.zip
(hexlify-command, dehexlify-command): Use exec-directory.
-rw-r--r--lisp/hexl.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/hexl.el b/lisp/hexl.el
index 20e9c161754..f3d0890e505 100644
--- a/lisp/hexl.el
+++ b/lisp/hexl.el
@@ -1,4 +1,4 @@
1;;; hexl-mode.el --- edit a file in a hex dump format using the hexl filter. 1;;; hexl.el --- edit a file in a hex dump format using the hexl filter.
2 2
3;; Copyright (C) 1989 Free Software Foundation, Inc. 3;; Copyright (C) 1989 Free Software Foundation, Inc.
4 4
@@ -62,11 +62,13 @@ and \"-de\" when dehexlfying a buffer.")
62(defvar hexl-options (format "-hex %s" hexl-iso) 62(defvar hexl-options (format "-hex %s" hexl-iso)
63 "Options to hexl-program that suit your needs.") 63 "Options to hexl-program that suit your needs.")
64 64
65(defvar hexlify-command (format "%s %s" hexl-program hexl-options) 65(defvar hexlify-command
66 (format "%s%s %s" exec-directory hexl-program hexl-options)
66 "The command to use to hexlify a buffer. It is the concatination of 67 "The command to use to hexlify a buffer. It is the concatination of
67`hexl-program' and `hexl-options'.") 68`hexl-program' and `hexl-options'.")
68 69
69(defvar dehexlify-command (format "%s -de %s" hexl-program hexl-options) 70(defvar dehexlify-command
71 (format "%s%s -de %s" exec-directory hexl-program hexl-options)
70 "The command to use to unhexlify a buffer. It is the concatination of 72 "The command to use to unhexlify a buffer. It is the concatination of
71`hexl-program', the option \"-de\", and `hexl-options'.") 73`hexl-program', the option \"-de\", and `hexl-options'.")
72 74