File: fix-docstring

package info (click to toggle)
yatex 1.82-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 2,072 kB
  • sloc: lisp: 15,155; makefile: 194; ruby: 92; sh: 76
file content (41 lines) | stat: -rw-r--r-- 1,888 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Index: yatex/yatexlib.el
===================================================================
--- yatex.orig/yatexlib.el
+++ yatex/yatexlib.el
@@ -1068,8 +1068,8 @@ This function returns correct result onl
 (defun YaTeX-goto-corresponding-environment (&optional allow-mismatch noerr bg)
   "Go to corresponding begin/end enclosure.
 Optional argument ALLOW-MISMATCH allows mismatch open/clese.  Use this
-for \left(, \right).
-Optional third argument NOERR causes no error for unballanced environment."
+for \\=\\left(, \\=\\right).
+Optional third argument NOERR causes no error for unbalanced environment."
   (interactive)
   (if (not (YaTeX-on-begin-end-p)) nil
     (let ((p  (match-end 0)) b0 b1 env (nest 0) regexp re-s (op (point))
Index: yatex/yatexenv.el
===================================================================
--- yatex.orig/yatexenv.el
+++ yatex/yatexenv.el
@@ -360,7 +360,7 @@ Count the number of & in the first align
 
 ;;;###autoload
 (defun YaTeX-goto-corresponding-leftright ()
-  "Go to corresponding \left or \right."
+  "Go to corresponding \\=\\left or \\=\\right."
   (let ((YaTeX-struct-begin "\\left%1")
 	(YaTeX-struct-end "\\right%1")
 	(YaTeX-struct-name-regexp "[][(){}\\.|]")
Index: yatex/yatex.el
===================================================================
--- yatex.orig/yatex.el
+++ yatex/yatex.el
@@ -857,7 +857,7 @@ more features are available and they are
 (autoload 'YaTeX-what-column "yatexenv" "YaTeX env. specific funcs" t)
 (autoload 'YaTeX-intelligent-newline "yatexenv" "YaTeX env. specific funcs" t)
 (autoload 'YaTeX-indent-line-equation "yatexenv" "Indent equation lines." t)
-(autoload 'YaTeX-goto-corresponding-leftright "yatexenv" "\left\right jumps" t)
+(autoload 'YaTeX-goto-corresponding-leftright "yatexenv" "\\=\\left\\=\\right jumps" t)
 
 ;;autoload from yatexhie.el
 (autoload 'YaTeX-display-hierarchy "yatexhie"