]> git.eshelyaron.com Git - emacs.git/commitdiff
(tcl): Finish `defgroup' description with period.
authorJuanma Barranquero <lekktu@gmail.com>
Mon, 4 Jul 2005 03:27:17 +0000 (03:27 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Mon, 4 Jul 2005 03:27:17 +0000 (03:27 +0000)
(tcl-comment-indent, tcl-quote): "?\ " -> "?\s".

lisp/progmodes/tcl.el

index a3447befa20cb0f6898c2d97124428410ec1ef74..2669369645fe55b3a682a2e554b07a1c0edeacc7 100644 (file)
 ;;
 
 (defgroup tcl nil
-  "Major mode for editing Tcl source in Emacs"
+  "Major mode for editing Tcl source in Emacs."
   :group 'languages)
 
 (defcustom tcl-indent-level 4
@@ -1489,7 +1489,7 @@ styles."
     (unless (or (bolp) (tcl-real-command-p))
       (insert ";")
       ;; Try and erase a non-significant char to keep charpos identical.
-      (if (memq (char-after) '(?\t ?\ )) (delete-char 1))))
+      (if (memq (char-after) '(?\t ?\s)) (delete-char 1))))
   (funcall (default-value 'comment-indent-function)))
 
 ;; The following was inspired by the Tcl editing mode written by
@@ -1533,7 +1533,7 @@ The first line is assumed to look like \"#!.../program ...\"."
 (defun tcl-quote (string)
   "Quote STRING according to Tcl rules."
   (mapconcat (lambda (char)
-              (if (memq char '(?[ ?] ?{ ?} ?\\ ?\" ?$ ?  ?\;))
+              (if (memq char '(?[ ?] ?{ ?} ?\\ ?\" ?$ ?\s ?\;))
                   (concat "\\" (char-to-string char))
                 (char-to-string char)))
             string ""))