emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/textmodes/sgml-mode.el,v


From: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/lisp/textmodes/sgml-mode.el,v
Date: Fri, 23 Feb 2007 19:27:46 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Eli Zaretskii <eliz>    07/02/23 19:27:46

Index: sgml-mode.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/textmodes/sgml-mode.el,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -b -r1.120 -r1.121
--- sgml-mode.el        21 Jan 2007 03:53:08 -0000      1.120
+++ sgml-mode.el        23 Feb 2007 19:27:46 -0000      1.121
@@ -920,9 +920,10 @@
                      (or sgml-saved-validate-command
                          (concat sgml-validate-command
                                  " "
+                                 (shell-quote-argument
                                  (let ((name (buffer-file-name)))
                                    (and name
-                                        (file-name-nondirectory name))))))))
+                                         (file-name-nondirectory name)))))))))
   (setq sgml-saved-validate-command command)
   (save-some-buffers (not compilation-ask-about-save) nil)
   (compilation-start command))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]