aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2001-07-02 19:20:25 +0000
committerStefan Monnier2001-07-02 19:20:25 +0000
commit4ce5c22387689e206cb06d367d9ef7564f2ab79b (patch)
treed255e3663c317d04de2cc7f4563479e7271a9257
parent24cc235a08f16e88a512a87d709d36a0a48199f6 (diff)
downloademacs-4ce5c22387689e206cb06d367d9ef7564f2ab79b.tar.gz
emacs-4ce5c22387689e206cb06d367d9ef7564f2ab79b.zip
(Info-clone-buffer-hook): Really unconditionally copy marker.
-rw-r--r--lisp/ChangeLog16
-rw-r--r--lisp/info.el9
2 files changed, 14 insertions, 11 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b39762a9fe0..e7b5c487834 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,20 +1,22 @@
12001-07-02 Stefan Monnier <monnier@cs.yale.edu>
2
3 * info.el (Info-clone-buffer-hook): Really unconditionally copy marker.
4
12001-07-02 Gerd Moellmann <gerd@gnu.org> 52001-07-02 Gerd Moellmann <gerd@gnu.org>
2 6
3 * emacs-lisp/cl-macs.el (cl-do-arglist): Revert change of 7 * emacs-lisp/cl-macs.el (cl-do-arglist): Revert change of 2000-10-15.
4 2000-10-15.
5 8
62001-07-02 Eli Zaretskii <eliz@is.elta.co.il> 92001-07-02 Eli Zaretskii <eliz@is.elta.co.il>
7 10
8 * allout.el: Fix the header line, so that finder.el recognizes it. 11 * allout.el: Fix the header line, so that finder.el recognizes it.
9 From Pavel Jan,Bm(Bk <Pavel@Janik.cz>. 12 From Pavel Jan,Bm(Bk <Pavel@Janik.cz>.
10 13
11 * emacs-lisp/lisp-mnt.el (lm-header-prefix): Doc fix. From Pavel 14 * emacs-lisp/lisp-mnt.el (lm-header-prefix): Doc fix.
12 Jan,Bm(Bk <Pavel@Janik.cz>. 15 From Pavel Jan,Bm(Bk <Pavel@Janik.cz>.
13 16
142001-06-29 Eli Zaretskii <eliz@is.elta.co.il> 172001-06-29 Eli Zaretskii <eliz@is.elta.co.il>
15 18
16 * term/w32-win.el (x-colors): Add colors from the recent rgb.txt 19 * term/w32-win.el (x-colors): Add colors from the recent rgb.txt file.
17 file.
18 20
19 * ps-bdf.el (bdf-directory-list): Use the value relative to 21 * ps-bdf.el (bdf-directory-list): Use the value relative to
20 installation-directory for MS-Windows as well. 22 installation-directory for MS-Windows as well.
@@ -36,7 +38,7 @@
36 (rmail-msg-restore-non-pruned-header): Likewise. 38 (rmail-msg-restore-non-pruned-header): Likewise.
37 If point was in the old pruned header, put it at the top. 39 If point was in the old pruned header, put it at the top.
38 (rmail-msg-prune-header): If point was at the top, keep it there. 40 (rmail-msg-prune-header): If point was at the top, keep it there.
39 41
40 * mail/rmail.el (rmail-narrow-to-non-pruned-header): New function. 42 * mail/rmail.el (rmail-narrow-to-non-pruned-header): New function.
41 (rmail-retry-failure): Use rmail-narrow-to-non-pruned-header. 43 (rmail-retry-failure): Use rmail-narrow-to-non-pruned-header.
42 44
diff --git a/lisp/info.el b/lisp/info.el
index aaf7b1811e7..301ad5ae606 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -664,7 +664,7 @@ a case-insensitive match is tried."
664 ;; Search file for a suitable node. 664 ;; Search file for a suitable node.
665 (let ((guesspos (point-min)) 665 (let ((guesspos (point-min))
666 (regexp (concat "\\(Node:\\|Ref:\\) *\\(" 666 (regexp (concat "\\(Node:\\|Ref:\\) *\\("
667 (if (stringp nodename) 667 (if (stringp nodename)
668 (regexp-quote nodename) 668 (regexp-quote nodename)
669 "") 669 "")
670 "\\) *[,\t\n\177]")) 670 "\\) *[,\t\n\177]"))
@@ -2309,10 +2309,11 @@ Advanced commands:
2309(defun Info-clone-buffer-hook () 2309(defun Info-clone-buffer-hook ()
2310 (when (bufferp Info-tag-table-buffer) 2310 (when (bufferp Info-tag-table-buffer)
2311 (setq Info-tag-table-buffer 2311 (setq Info-tag-table-buffer
2312 (with-current-buffer Info-tag-table-buffer (clone-buffer))) 2312 (with-current-buffer Info-tag-table-buffer (clone-buffer))))
2313 (let ((m Info-tag-table-marker)) 2313 (let ((m Info-tag-table-marker))
2314 (when (markerp m)
2314 (setq Info-tag-table-marker 2315 (setq Info-tag-table-marker
2315 (if (and (markerp m) (marker-position m)) 2316 (if (and (marker-position m) (bufferp Info-tag-table-buffer))
2316 (with-current-buffer Info-tag-table-buffer 2317 (with-current-buffer Info-tag-table-buffer
2317 (copy-marker (marker-position m))) 2318 (copy-marker (marker-position m)))
2318 (make-marker)))))) 2319 (make-marker))))))