aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/textmodes/sgml-mode.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el
index 3b8af26750b..ef3f822cfb2 100644
--- a/lisp/textmodes/sgml-mode.el
+++ b/lisp/textmodes/sgml-mode.el
@@ -712,6 +712,9 @@ and move to the line in the SGML document that caused it."
712 (and name 712 (and name
713 (file-name-nondirectory name)))))))) 713 (file-name-nondirectory name))))))))
714 (setq sgml-saved-validate-command command) 714 (setq sgml-saved-validate-command command)
715 (if (or (not compilation-ask-about-save)
716 (y-or-n-p (message "Save buffer %s? " (buffer-name))))
717 (save-buffer))
715 (compile-internal command "No more errors")) 718 (compile-internal command "No more errors"))
716 719
717 720