summaryrefslogtreecommitdiff
path: root/lisp/hexl.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-05-26 21:17:31 +0000
committerRichard M. Stallman <rms@gnu.org>1993-05-26 21:17:31 +0000
commit2eeb3c046dfe03f83709870010d23e59f3292fdf (patch)
tree8d92bb9b1d26c9b5f79a238367cd9956cc364e3e /lisp/hexl.el
parent8936007fcf59bdfe7db498565a458989062ecf8b (diff)
downloademacs-2eeb3c046dfe03f83709870010d23e59f3292fdf.tar.gz
(hexlify-command, dehexlify-command): Use exec-directory.
Diffstat (limited to 'lisp/hexl.el')
-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 @@
-;;; hexl-mode.el --- edit a file in a hex dump format using the hexl filter.
+;;; hexl.el --- edit a file in a hex dump format using the hexl filter.
;; Copyright (C) 1989 Free Software Foundation, Inc.
@@ -62,11 +62,13 @@ and \"-de\" when dehexlfying a buffer.")
(defvar hexl-options (format "-hex %s" hexl-iso)
"Options to hexl-program that suit your needs.")
-(defvar hexlify-command (format "%s %s" hexl-program hexl-options)
+(defvar hexlify-command
+ (format "%s%s %s" exec-directory hexl-program hexl-options)
"The command to use to hexlify a buffer. It is the concatination of
`hexl-program' and `hexl-options'.")
-(defvar dehexlify-command (format "%s -de %s" hexl-program hexl-options)
+(defvar dehexlify-command
+ (format "%s%s -de %s" exec-directory hexl-program hexl-options)
"The command to use to unhexlify a buffer. It is the concatination of
`hexl-program', the option \"-de\", and `hexl-options'.")