# HG changeset patch # User Gerd Moellmann # Date 989846250 0 # Node ID 5d56786629e4fc98d6603778fdab927c01365691 # Parent 4a800a01388bdff4faf446499a814edc7be7dff4 (hexl-current-address): Print a message when called interactively. diff -r 4a800a01388b -r 5d56786629e4 lisp/hexl.el --- a/lisp/hexl.el Mon May 14 13:03:23 2001 +0000 +++ b/lisp/hexl.el Mon May 14 13:17:30 2001 +0000 @@ -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 ;; Maintainer: FSF @@ -347,6 +347,8 @@ (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)