HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7d6d84c
)
(sgml-validate): Ask whether to save only
author
Richard M. Stallman
<rms@gnu.org>
Thu, 31 Dec 1998 14:40:03 +0000
(14:40 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 31 Dec 1998 14:40:03 +0000
(14:40 +0000)
if buffer is modified; ask about all modified buffers.
lisp/textmodes/sgml-mode.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/textmodes/sgml-mode.el
b/lisp/textmodes/sgml-mode.el
index
c40c8c4
..
5e7e7d9
100644
(file)
--- a/
lisp/textmodes/sgml-mode.el
+++ b/
lisp/textmodes/sgml-mode.el
@@
-776,9
+776,7
@@
and move to the line in the SGML document that caused it."
(and name
(file-name-nondirectory name))))))))
(setq sgml-saved-validate-command command)
- (if (or (not compilation-ask-about-save)
- (y-or-n-p (message "Save buffer %s? " (buffer-name))))
- (save-buffer))
+ (save-some-buffers (not compilation-ask-about-save) nil)
(compile-internal command "No more errors"))