2000-06-23 Gerd Moellmann <gerd@gnu.org>
+ * comint.el (comint-substitute-in-file-name): Call replace-match
+ with second and third arg t.
+
* cus-edit.el (custom-button-face, custom-button-pressed-face):
Specify foreground color.
* pcomplete.el: New file.
+2000-06-23 Paul Eggert <eggert@twinsun.com>
+
+ * emerge.el (emerge-make-temp-file): Make sure file has proper
+ permissions from birth.
+
2000-06-22 Eli Zaretskii <eliz@is.elta.co.il>
* files.el (make-backup-file-name-1): On DOS/Windows, run the
;; Make a temporary file that only we have access to.
;; PREFIX is appended to emerge-temp-file-prefix to make the filename prefix.
(defun emerge-make-temp-file (prefix)
- (let ((f (make-temp-file (concat emerge-temp-file-prefix prefix))))
- (set-file-modes f emerge-temp-file-mode)
+ (let (f (old-modes (default-file-modes)))
+ (unwind-protect
+ (progn
+ (set-default-file-modes emerge-temp-file-mode)
+ (setq f (make-temp-file (concat emerge-temp-file-prefix prefix))))
+ (set-default-file-modes old-modes))
f))
;;; Functions that query the user before he can write out the current buffer.