`concat' is called with integer arguments when a footnote is inserted
prior to an existing footnote. This patch uses `Footnote-index-to-string'
(instead of the %d format) for prettiness value.
--- xemacs/packages/lisp/footnote/footnote.el~ Mon Jan 26 05:12:34 1998
+++ xemacs/packages/lisp/footnote/footnote.el Sun May 31 21:50:06 1998
@@ -4,7 +4,7 @@
;; Author: Steven L Baur <steve(a)altair.xemacs.org>
;; Keywords: mail, news
-;; Version: 0.18
+;; Version: 0.19
;; This file is part of XEmacs.
@@ -39,6 +39,8 @@
;;; Change Log:
+;; May-31-1998: In `Footnote-make-hole', `concat' was called with integer
+;; argument; now use `Footnote-index-to-string' and `format'
;; Apr-04-1997: Added option to narrow buffer when editing the text of
;; a footnote.
;; Insertion and renumbering now works.
@@ -551,8 +553,10 @@
(unless rc
(setq rc (car alist-ptr)))
(save-excursion
- (message (concat "Renumbering from "
- (car alist-ptr) " to " (1+ (car alist-ptr))))
+ (message (format "Renumbering from %s to %s"
+ (Footnote-index-to-string (car alist-ptr))
+ (Footnote-index-to-string
+ (1+ (car alist-ptr)))))
(Footnote-renumber (car alist-ptr)
(1+ (car alist-ptr))
alist-ptr
--
Sam Mikes
smikes(a)alumni.hmc.edu
Show replies by date