yatex
changeset 483:6dcd746db62e dev
DOC string fixed
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Sun, 10 Sep 2017 21:17:26 +0859 |
parents | 9132c20372ec |
children | 791fd80d22ed |
files | yatexlib.el |
diffstat | 1 files changed, 6 insertions(+), 3 deletions(-) [+] |
line diff
1.1 --- a/yatexlib.el Sun Sep 10 21:08:14 2017 +0859 1.2 +++ b/yatexlib.el Sun Sep 10 21:17:26 2017 +0859 1.3 @@ -1,7 +1,7 @@ 1.4 ;;; yatexlib.el --- YaTeX and yahtml common libraries -*- coding: sjis -*- 1.5 ;;; 1.6 ;;; (c)1994-2017 by HIROSE Yuuji.[yuuji@yatex.org] 1.7 -;;; Last modified Sun Sep 10 18:12:33 2017 on firestorm 1.8 +;;; Last modified Sun Sep 10 21:16:11 2017 on firestorm 1.9 ;;; $Id$ 1.10 1.11 ;;; Code: 1.12 @@ -1669,7 +1669,7 @@ 1.13 ;; Moved from comment.el 1.14 ;;; 1.15 (defun YaTeX-comment-region-sub (string &optional beg end once) 1.16 - "Inserts STRING at the beginning of every line between BEG and END." 1.17 + "Insert STRING at the beginning of every line between BEG and END." 1.18 (if (not (stringp string)) (setq string YaTeX-comment-prefix)) 1.19 (let ((b (or beg (region-beginning))) (e (or end (region-end)))) 1.20 (save-excursion 1.21 @@ -1684,7 +1684,10 @@ 1.22 (insert string)))))) 1.23 1.24 (defun YaTeX-uncomment-region-sub (string &optional beg end once) 1.25 - "Deletes STRING from the beginning of every line between BEG and END." 1.26 + "Delete STRING from the beginning of every line between BEG and END. 1.27 +BEG and END are optional. If omitted, active region used. 1.28 +Non-nil for optional 4th argument ONCE withholds from removing 1.29 +successive comment chars at the beggining of lines." 1.30 (save-excursion 1.31 (save-restriction 1.32 (narrow-to-region (or beg (region-beginning)) (or end (region-end)))