]> git.eshelyaron.com Git - emacs.git/commitdiff
(hexl-current-address): Print a message when called
authorGerd Moellmann <gerd@gnu.org>
Mon, 14 May 2001 13:17:30 +0000 (13:17 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 14 May 2001 13:17:30 +0000 (13:17 +0000)
interactively.

lisp/hexl.el

index a2ddded9fe3f6993ccc97914ebb27a0713b1c328..f4f2d21c09836df45fd301a419f41301c29d8e6b 100644 (file)
@@ -1,6 +1,6 @@
 ;;; hexl.el --- edit a file in a hex dump format using the hexl filter.
 
-;; Copyright (C) 1989, 1994, 1998 Free Software Foundation, Inc.
+;; Copyright (C) 1989, 1994, 1998, 2001 Free Software Foundation, Inc.
 
 ;; Author: Keith Gabryelski <ag@wheaties.ai.mit.edu>
 ;; Maintainer: FSF
@@ -347,6 +347,8 @@ Ask the user for confirmation."
             (if (>= current-column 41)
                 (- current-column 41)
               (/ (- current-column  (/ current-column 5)) 2))))
+    (when (interactive-p)
+      (message "Current address is %d" hexl-address))
     hexl-address))
 
 (defun hexl-address-to-marker (address)