Function: hexl-backward-word
hexl-backward-word is an interactive and byte-compiled function
defined in hexl.el.gz.
Signature
(hexl-backward-word ARG)
Documentation
Move to left ARG words (right if ARG negative) in Hexl mode.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/hexl.el.gz
(defun hexl-backward-word (arg)
"Move to left ARG words (right if ARG negative) in Hexl mode."
(interactive "p")
(hexl-goto-address (let ((address (hexl-current-address)))
(if (< arg 0)
(progn
(setq arg (- arg))
(while (> arg 0)
(setq address
(if (> address hexl-max-address)
(progn
(message "End of buffer.")
hexl-max-address)
(if (equal address (logior address 7))
(+ address 8)
(logior address 7))))
(setq arg (1- arg)))
(setq address
(if (> address hexl-max-address)
(progn
(message "End of buffer.")
hexl-max-address)
(logior address 7))))
(while (> arg 0)
(if (not (equal address (logand address -8)))
(setq address (logand address -8))
(if (not (equal address 0))
(setq address (- address 8))
(message "Beginning of buffer.")))
(setq arg (1- arg))))
address)))