aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/hexl.el10
1 files changed, 8 insertions, 2 deletions
diff --git a/lisp/hexl.el b/lisp/hexl.el
index 40096800d0e..e4c80c68c79 100644
--- a/lisp/hexl.el
+++ b/lisp/hexl.el
@@ -77,13 +77,19 @@ and \"-de\" when dehexlifying a buffer."
77 :group 'hexl) 77 :group 'hexl)
78 78
79(defcustom hexlify-command 79(defcustom hexlify-command
80 (format "%s%s %s" exec-directory hexl-program hexl-options) 80 (format "%s %s"
81 (shell-quote-argument
82 (expand-file-name hexl-program exec-directory))
83 hexl-options)
81 "The command to use to hexlify a buffer." 84 "The command to use to hexlify a buffer."
82 :type 'string 85 :type 'string
83 :group 'hexl) 86 :group 'hexl)
84 87
85(defcustom dehexlify-command 88(defcustom dehexlify-command
86 (format "%s%s -de %s" exec-directory hexl-program hexl-options) 89 (format "%s -de %s"
90 (shell-quote-argument
91 (expand-file-name hexl-program exec-directory))
92 hexl-options)
87 "The command to use to unhexlify a buffer." 93 "The command to use to unhexlify a buffer."
88 :type 'string 94 :type 'string
89 :group 'hexl) 95 :group 'hexl)