changeset 2021:cb22c508fb00

[xemacs-hg @ 2004-04-17 09:59:24 by michaels] 2004-04-09 Mike Sperber <mike@xemacs.org> * minibuf.el (reset-buffer): Zap the mark of the minibuffer as well, to prevent it from hijacking other buffers' marks when typing in the minibuffer later.
author michaels
date Sat, 17 Apr 2004 09:59:25 +0000
parents e27c11d23f79
children d31a2df82ddb
files lisp/ChangeLog lisp/minibuf.el
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Apr 16 21:50:42 2004 +0000
+++ b/lisp/ChangeLog	Sat Apr 17 09:59:25 2004 +0000
@@ -1,3 +1,9 @@
+2004-04-09  Mike Sperber  <mike@xemacs.org>
+
+	* minibuf.el (reset-buffer): Zap the mark of the minibuffer as
+	well, to prevent it from hijacking other buffers' marks when
+	typing in the minibuffer later.
+
 2004-04-05  Jerry James  <james@xemacs.org>
 
 	* cl-extra.el (coerce): Add support for general numeric conversions.
--- a/lisp/minibuf.el	Fri Apr 16 21:50:42 2004 +0000
+++ b/lisp/minibuf.el	Sat Apr 17 09:59:25 2004 +0000
@@ -319,6 +319,7 @@
     (setq buffer-backed-up nil)
     (setq buffer-auto-save-file-name nil)
     (set-buffer-dedicated-frame buffer nil)
+    (set-marker (mark-marker t buffer) nil)
     buffer))
 
 (defvar minibuffer-history-variable 'minibuffer-history