diff options
| author | Romain Francoise | 2005-08-26 10:02:03 +0000 |
|---|---|---|
| committer | Romain Francoise | 2005-08-26 10:02:03 +0000 |
| commit | 27024d2fd1de4abb378cba583d1e1bb4633ac740 (patch) | |
| tree | 190ad64a65bb976b0d613dfb0d0029962de9bb1c | |
| parent | a6022f153abae31d4e8e0568e56717676d7e560e (diff) | |
| download | emacs-27024d2fd1de4abb378cba583d1e1bb4633ac740.tar.gz emacs-27024d2fd1de4abb378cba583d1e1bb4633ac740.zip | |
(sgml-validate): Use `compilation-start'
instead of the obsolete `compile-internal'.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/textmodes/sgml-mode.el | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 67faa758ca3..88c099f68da 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2005-08-26 Romain Francoise <romain@orebokech.com> | ||
| 2 | |||
| 3 | * textmodes/sgml-mode.el (sgml-validate): Use `compilation-start' | ||
| 4 | instead of the obsolete `compile-internal'. | ||
| 5 | |||
| 1 | 2005-08-26 Juanma Barranquero <lekktu@gmail.com> | 6 | 2005-08-26 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 7 | ||
| 3 | * smerge-mode.el (smerge-refined-change): Add :group. | 8 | * smerge-mode.el (smerge-refined-change): Add :group. |
diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el index 1c43ce39ce6..0d4281c1720 100644 --- a/lisp/textmodes/sgml-mode.el +++ b/lisp/textmodes/sgml-mode.el | |||
| @@ -901,7 +901,7 @@ With prefix argument ARG, repeat this ARG times." | |||
| 901 | (forward-list))))))) | 901 | (forward-list))))))) |
| 902 | 902 | ||
| 903 | 903 | ||
| 904 | (autoload 'compile-internal "compile") | 904 | (autoload 'compilation-start "compile") |
| 905 | 905 | ||
| 906 | (defun sgml-validate (command) | 906 | (defun sgml-validate (command) |
| 907 | "Validate an SGML document. | 907 | "Validate an SGML document. |
| @@ -919,7 +919,7 @@ and move to the line in the SGML document that caused it." | |||
| 919 | (file-name-nondirectory name)))))))) | 919 | (file-name-nondirectory name)))))))) |
| 920 | (setq sgml-saved-validate-command command) | 920 | (setq sgml-saved-validate-command command) |
| 921 | (save-some-buffers (not compilation-ask-about-save) nil) | 921 | (save-some-buffers (not compilation-ask-about-save) nil) |
| 922 | (compile-internal command "No more errors")) | 922 | (compilation-start command)) |
| 923 | 923 | ||
| 924 | (defsubst sgml-at-indentation-p () | 924 | (defsubst sgml-at-indentation-p () |
| 925 | "Return true if point is at the first non-whitespace character on the line." | 925 | "Return true if point is at the first non-whitespace character on the line." |