diff options
| author | Gerd Moellmann | 2001-05-14 13:17:30 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-05-14 13:17:30 +0000 |
| commit | 48f56596d5278bdd041d3929165b818630ced048 (patch) | |
| tree | 82fcf1173f7e98c56a52266b2d6a3cbb3ee9c155 | |
| parent | 98fedd9707a8c2e69613fc8e0a5b0edb73a77a09 (diff) | |
| download | emacs-48f56596d5278bdd041d3929165b818630ced048.tar.gz emacs-48f56596d5278bdd041d3929165b818630ced048.zip | |
(hexl-current-address): Print a message when called
interactively.
| -rw-r--r-- | lisp/hexl.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/hexl.el b/lisp/hexl.el index a2ddded9fe3..f4f2d21c098 100644 --- a/lisp/hexl.el +++ b/lisp/hexl.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; hexl.el --- edit a file in a hex dump format using the hexl filter. | 1 | ;;; hexl.el --- edit a file in a hex dump format using the hexl filter. |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1989, 1994, 1998 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1989, 1994, 1998, 2001 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Keith Gabryelski <ag@wheaties.ai.mit.edu> | 5 | ;; Author: Keith Gabryelski <ag@wheaties.ai.mit.edu> |
| 6 | ;; Maintainer: FSF | 6 | ;; Maintainer: FSF |
| @@ -347,6 +347,8 @@ Ask the user for confirmation." | |||
| 347 | (if (>= current-column 41) | 347 | (if (>= current-column 41) |
| 348 | (- current-column 41) | 348 | (- current-column 41) |
| 349 | (/ (- current-column (/ current-column 5)) 2)))) | 349 | (/ (- current-column (/ current-column 5)) 2)))) |
| 350 | (when (interactive-p) | ||
| 351 | (message "Current address is %d" hexl-address)) | ||
| 350 | hexl-address)) | 352 | hexl-address)) |
| 351 | 353 | ||
| 352 | (defun hexl-address-to-marker (address) | 354 | (defun hexl-address-to-marker (address) |