emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/hexl.el [emacs-unicode-2]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/lisp/hexl.el [emacs-unicode-2]
Date: Mon, 28 Jun 2004 04:37:16 -0400

Index: emacs/lisp/hexl.el
diff -c emacs/lisp/hexl.el:1.81.4.1 emacs/lisp/hexl.el:1.81.4.2
*** emacs/lisp/hexl.el:1.81.4.1 Fri Apr 16 12:49:50 2004
--- emacs/lisp/hexl.el  Mon Jun 28 07:28:41 2004
***************
*** 217,223 ****
          (set-buffer-modified-p modified))
        (make-local-variable 'hexl-max-address)
        (setq hexl-max-address max-address)
!       (hexl-goto-address original-point))
  
      ;; We do not turn off the old major mode; instead we just
      ;; override most of it.  That way, we can restore it perfectly.
--- 217,225 ----
          (set-buffer-modified-p modified))
        (make-local-variable 'hexl-max-address)
        (setq hexl-max-address max-address)
!       (condition-case nil
!         (hexl-goto-address original-point)
!       (error nil)))
  
      ;; We do not turn off the old major mode; instead we just
      ;; override most of it.  That way, we can restore it perfectly.
***************
*** 405,411 ****
  Signal error if ADDRESS out of range."
    (interactive "nAddress: ")
    (if (or (< address 0) (> address hexl-max-address))
!         (error "Out of hexl region"))
    (goto-char (hexl-address-to-marker address)))
  
  (defun hexl-goto-hex-address (hex-address)
--- 407,413 ----
  Signal error if ADDRESS out of range."
    (interactive "nAddress: ")
    (if (or (< address 0) (> address hexl-max-address))
!       (error "Out of hexl region"))
    (goto-char (hexl-address-to-marker address)))
  
  (defun hexl-goto-hex-address (hex-address)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]