mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-05 11:45:45 +00:00
(sgml-validate): Use `compilation-start'
instead of the obsolete `compile-internal'.
This commit is contained in:
parent
a6022f153a
commit
27024d2fd1
@ -1,3 +1,8 @@
|
||||
2005-08-26 Romain Francoise <romain@orebokech.com>
|
||||
|
||||
* textmodes/sgml-mode.el (sgml-validate): Use `compilation-start'
|
||||
instead of the obsolete `compile-internal'.
|
||||
|
||||
2005-08-26 Juanma Barranquero <lekktu@gmail.com>
|
||||
|
||||
* smerge-mode.el (smerge-refined-change): Add :group.
|
||||
|
@ -901,7 +901,7 @@ With prefix argument ARG, repeat this ARG times."
|
||||
(forward-list)))))))
|
||||
|
||||
|
||||
(autoload 'compile-internal "compile")
|
||||
(autoload 'compilation-start "compile")
|
||||
|
||||
(defun sgml-validate (command)
|
||||
"Validate an SGML document.
|
||||
@ -919,7 +919,7 @@ and move to the line in the SGML document that caused it."
|
||||
(file-name-nondirectory name))))))))
|
||||
(setq sgml-saved-validate-command command)
|
||||
(save-some-buffers (not compilation-ask-about-save) nil)
|
||||
(compile-internal command "No more errors"))
|
||||
(compilation-start command))
|
||||
|
||||
(defsubst sgml-at-indentation-p ()
|
||||
"Return true if point is at the first non-whitespace character on the line."
|
||||
|
Loading…
Reference in New Issue
Block a user