Function: hexl-options
hexl-options is a byte-compiled function defined in hexl.el.gz.
Signature
(hexl-options &optional TEST)
Documentation
Combine hexl-bits with hexl-options(var)/hexl-options(fun), altering hexl-options(var)/hexl-options(fun) as needed
to produce the command line options to pass to the hexl command.
Source Code
;; Defined in /usr/src/emacs/lisp/hexl.el.gz
;00000000: 0011 2233 4455 6677 8899 aabb ccdd eeff 0123456789ABCDEF
(defun hexl-options (&optional test)
"Combine `hexl-bits' with `hexl-options', altering `hexl-options' as needed
to produce the command line options to pass to the hexl command."
(let ((opts (or test hexl-options)))
(when (memq hexl-bits '(8 16 32 64))
(when (string-match "\\(.*\\)-group-by-[0-9]+-bits\\(.*\\)" opts)
(setq opts (concat (match-string 1 opts)
(match-string 2 opts))))
(setq opts (format "%s -group-by-%d-bits " opts hexl-bits)) )
opts))