Please change the Subject header to a concise description of your patch.
Please describe your patch between the LOG-START and LOG-END markers:
<<LOG-START>>

* lisp/bzr.el (bzr-ignore-setup): If the buffer is not associated with a
  file, do not attempt to save it.  This prevents the user from being
  prompted vaguely at Emacs startup.

<<LOG-END>>



[VERSION] dvc-dev-bzr

Bazaar (bzr) 0.11.0

Emacs  : GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.10.6)
 of 2006-10-15 on hariken
-- 
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: Emacs Lisp, text markup, protocols -- Jabber: mwolson_at_hcoop.net
  /` |\ | | | Projects: Emacs, Muse, ERC, EMMS, Planner, ErBot, DVC
 |_] | \| |_| Reclaim your digital rights by eliminating DRM.
      See http://www.defectivebydesign.org/what_is_drm for details.
=== modified file 'lisp/bzr.el'
--- lisp/bzr.el	2006-10-07 13:09:41 +0000
+++ lisp/bzr.el	2006-10-15 22:13:11 +0000
@@ -866,7 +866,8 @@
           (insert "# DVC ignore (don't edit !!)\n")
           (insert bzr-ignore-list)
           (insert "# end DVC ignore\n")
-          (save-buffer)))
+          (when buffer-file-name
+            (save-buffer))))
       (kill-buffer buffer))))
 
 ;; Must remain toplevel, and should not be autoloaded.

_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev

Reply via email to