aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2005-07-04 03:27:17 +0000
committerJuanma Barranquero2005-07-04 03:27:17 +0000
commit5089af2745cea1c29c06165d8ab59e94907d3daa (patch)
treee067052174d1aa2b54b48a58efb04d61e06e20d0
parentb9584f65f3c8be454884b3f2584859c54d49a437 (diff)
downloademacs-5089af2745cea1c29c06165d8ab59e94907d3daa.tar.gz
emacs-5089af2745cea1c29c06165d8ab59e94907d3daa.zip
(tcl): Finish `defgroup' description with period.
(tcl-comment-indent, tcl-quote): "?\ " -> "?\s".
-rw-r--r--lisp/progmodes/tcl.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/tcl.el b/lisp/progmodes/tcl.el
index a3447befa20..2669369645f 100644
--- a/lisp/progmodes/tcl.el
+++ b/lisp/progmodes/tcl.el
@@ -118,7 +118,7 @@
118;; 118;;
119 119
120(defgroup tcl nil 120(defgroup tcl nil
121 "Major mode for editing Tcl source in Emacs" 121 "Major mode for editing Tcl source in Emacs."
122 :group 'languages) 122 :group 'languages)
123 123
124(defcustom tcl-indent-level 4 124(defcustom tcl-indent-level 4
@@ -1489,7 +1489,7 @@ styles."
1489 (unless (or (bolp) (tcl-real-command-p)) 1489 (unless (or (bolp) (tcl-real-command-p))
1490 (insert ";") 1490 (insert ";")
1491 ;; Try and erase a non-significant char to keep charpos identical. 1491 ;; Try and erase a non-significant char to keep charpos identical.
1492 (if (memq (char-after) '(?\t ?\ )) (delete-char 1)))) 1492 (if (memq (char-after) '(?\t ?\s)) (delete-char 1))))
1493 (funcall (default-value 'comment-indent-function))) 1493 (funcall (default-value 'comment-indent-function)))
1494 1494
1495;; The following was inspired by the Tcl editing mode written by 1495;; The following was inspired by the Tcl editing mode written by
@@ -1533,7 +1533,7 @@ The first line is assumed to look like \"#!.../program ...\"."
1533(defun tcl-quote (string) 1533(defun tcl-quote (string)
1534 "Quote STRING according to Tcl rules." 1534 "Quote STRING according to Tcl rules."
1535 (mapconcat (lambda (char) 1535 (mapconcat (lambda (char)
1536 (if (memq char '(?[ ?] ?{ ?} ?\\ ?\" ?$ ? ?\;)) 1536 (if (memq char '(?[ ?] ?{ ?} ?\\ ?\" ?$ ?\s ?\;))
1537 (concat "\\" (char-to-string char)) 1537 (concat "\\" (char-to-string char))
1538 (char-to-string char))) 1538 (char-to-string char)))
1539 string "")) 1539 string ""))