aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1998-05-10 03:50:03 +0000
committerRichard M. Stallman1998-05-10 03:50:03 +0000
commit1cdb6e7c67365a04db3e8da50b7b3d8e91dbb477 (patch)
tree18ab1040ffb960d61eaa206e2c00829d2da6eb29
parent55a7ac51e3fbf029afe8ab7792f4782ac7c0af0f (diff)
downloademacs-1cdb6e7c67365a04db3e8da50b7b3d8e91dbb477.tar.gz
emacs-1cdb6e7c67365a04db3e8da50b7b3d8e91dbb477.zip
(byte-compile-output-docform): Use position-bytes.
-rw-r--r--lisp/emacs-lisp/bytecomp.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 2aa79037978..22be3b04b5d 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -9,7 +9,7 @@
9 9
10;;; This version incorporates changes up to version 2.10 of the 10;;; This version incorporates changes up to version 2.10 of the
11;;; Zawinski-Furuseth compiler. 11;;; Zawinski-Furuseth compiler.
12(defconst byte-compile-version "$Revision: 2.40 $") 12(defconst byte-compile-version "$Revision: 2.41 $")
13 13
14;; This file is part of GNU Emacs. 14;; This file is part of GNU Emacs.
15 15
@@ -1557,6 +1557,7 @@ list that represents a doc string reference.
1557 (setq position 1557 (setq position
1558 (byte-compile-output-as-comment 1558 (byte-compile-output-as-comment
1559 (nth (nth 1 info) form) nil)) 1559 (nth (nth 1 info) form) nil))
1560 (setq position (position-bytes position))
1560 ;; If the doc string starts with * (a user variable), 1561 ;; If the doc string starts with * (a user variable),
1561 ;; negate POSITION. 1562 ;; negate POSITION.
1562 (if (and (stringp (nth (nth 1 info) form)) 1563 (if (and (stringp (nth (nth 1 info) form))
@@ -1586,6 +1587,7 @@ list that represents a doc string reference.
1586 (byte-compile-output-as-comment 1587 (byte-compile-output-as-comment
1587 (cons (car form) (nth 1 form)) 1588 (cons (car form) (nth 1 form))
1588 t))) 1589 t)))
1590 (setq position (position-bytes position))
1589 (princ (format "(#$ . %d) nil" position) outbuffer) 1591 (princ (format "(#$ . %d) nil" position) outbuffer)
1590 (setq form (cdr form)) 1592 (setq form (cdr form))
1591 (setq index (1+ index)))) 1593 (setq index (1+ index))))