Function: dehexlify-buffer
dehexlify-buffer is an interactive and byte-compiled function defined
in hexl.el.gz.
Signature
(dehexlify-buffer)
Documentation
Convert a hexl format buffer to binary.
This discards the buffer's undo information.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/hexl.el.gz
(defun dehexlify-buffer ()
"Convert a hexl format buffer to binary.
This discards the buffer's undo information."
(interactive)
(and (consp buffer-undo-list)
(or (y-or-n-p "Converting from hexl format discards undo info; ok? ")
(error "Aborted"))
(setq buffer-undo-list nil))
(let ((coding-system-for-write 'raw-text)
(coding-system-for-read buffer-file-coding-system)
(buffer-undo-list t))
(apply 'call-process-region (point-min) (point-max)
(expand-file-name hexl-program exec-directory)
t t nil "-de" (split-string (hexl-options)))))