X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Fformat-spec.el;h=6cd39ede7214b5e94d1b6693947e599b3eaea42e;hb=50d08824478203e736b58ff0c8a39f62efc7f84c;hp=241e9dcb0111a3b7674e9691fe82fa1b0b4ed226;hpb=688636e75e02be0a1c319f546ec388ed9ec10a85;p=elisp%2Fgnus.git- diff --git a/lisp/format-spec.el b/lisp/format-spec.el index 241e9dc..6cd39ed 100644 --- a/lisp/format-spec.el +++ b/lisp/format-spec.el @@ -1,5 +1,5 @@ ;;; format-spec.el --- functions for formatting arbitrary formatting strings -;; Copyright (C) 1999 Free Software Foundation, Inc. +;; Copyright (C) 1999, 2000 Free Software Foundation, Inc. ;; Author: Lars Magne Ingebrigtsen ;; Keywords: tools @@ -52,7 +52,7 @@ to values." ;; Signal an error on bogus format strings. (t (error "Invalid format string")))) - (buffer-substring (point-min) (point-max)))) + (buffer-string))) (defun format-spec-make (&rest pairs) "Return an alist suitable for use in `format-spec' based on PAIRS.