changeset 22015:3ace0ce90a3f

(byte-compile-output-docform): Use position-bytes.
author Richard M. Stallman <rms@gnu.org>
date Sun, 10 May 1998 03:50:03 +0000
parents 9c5897743b4f
children 307fdd89bb42
files lisp/emacs-lisp/bytecomp.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/bytecomp.el	Sun May 10 01:43:32 1998 +0000
+++ b/lisp/emacs-lisp/bytecomp.el	Sun May 10 03:50:03 1998 +0000
@@ -9,7 +9,7 @@
 
 ;;; This version incorporates changes up to version 2.10 of the 
 ;;; Zawinski-Furuseth compiler.
-(defconst byte-compile-version "$Revision: 2.40 $")
+(defconst byte-compile-version "$Revision: 2.41 $")
 
 ;; This file is part of GNU Emacs.
 
@@ -1557,6 +1557,7 @@
 		(setq position
 		      (byte-compile-output-as-comment
 		       (nth (nth 1 info) form) nil))
+		(setq position (position-bytes position))
 		;; If the doc string starts with * (a user variable),
 		;; negate POSITION.
 		(if (and (stringp (nth (nth 1 info) form))
@@ -1586,6 +1587,7 @@
 			   (byte-compile-output-as-comment
 			    (cons (car form) (nth 1 form))
 			    t)))
+		      (setq position (position-bytes position))
 		      (princ (format "(#$ . %d) nil" position) outbuffer)
 		      (setq form (cdr form))
 		      (setq index (1+ index))))