aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorKarl Heuer1994-03-12 00:23:12 +0000
committerKarl Heuer1994-03-12 00:23:12 +0000
commit26add1bf463d21a7dc855798911eae45e96fa202 (patch)
treef227ddc7a59807d3f0d596907f3bc2c87af5a2d4 /lisp/textmodes
parent96a410bce6167f4ba9be55693dee79075325893e (diff)
downloademacs-26add1bf463d21a7dc855798911eae45e96fa202.tar.gz
emacs-26add1bf463d21a7dc855798911eae45e96fa202.zip
Don't use triple-hyphen in a character class.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/ispell.el22
-rw-r--r--lisp/textmodes/texinfmt.el4
2 files changed, 13 insertions, 13 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index 2fa5fae1d3a..1050b494dc8 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -388,30 +388,30 @@ started ispell process.")
388;;;###autoload 388;;;###autoload
389(defvar ispell-dictionary-alist ; sk 9-Aug-1991 18:28 389(defvar ispell-dictionary-alist ; sk 9-Aug-1991 18:28
390 '((nil ; default (english.aff) 390 '((nil ; default (english.aff)
391 "[A-Za-z]" "[^A-Za-z]" "[---']" nil ("-B") nil) 391 "[A-Za-z]" "[^A-Za-z]" "[-']" nil ("-B") nil)
392 ("english" ; make english explicitly selectable 392 ("english" ; make english explicitly selectable
393 "[A-Za-z]" "[^A-Za-z]" "[---']" nil ("-B") nil) 393 "[A-Za-z]" "[^A-Za-z]" "[-']" nil ("-B") nil)
394 ("deutsch" ; deutsch.aff 394 ("deutsch" ; deutsch.aff
395 "[a-zA-Z\"]" "[^a-zA-Z\"]" "[---']" t ("-C") nil) 395 "[a-zA-Z\"]" "[^a-zA-Z\"]" "[-']" t ("-C") nil)
396 ("deutsch8" 396 ("deutsch8"
397 "[a-zA-Z\304\326\334\344\366\337\374]" 397 "[a-zA-Z\304\326\334\344\366\337\374]"
398 "[^a-zA-Z\304\326\334\344\366\337\374]" 398 "[^a-zA-Z\304\326\334\344\366\337\374]"
399 "[---']" t ("-C" "-d" "deutsch") "~latin1") 399 "[-']" t ("-C" "-d" "deutsch") "~latin1")
400 ("nederlands8" ; dutch8.aff 400 ("nederlands8" ; dutch8.aff
401 "[A-Za-z\300-\305\307\310-\317\322-\326\331-\334\340-\345\347\350-\357\361\362-\366\371-\374]" 401 "[A-Za-z\300-\305\307\310-\317\322-\326\331-\334\340-\345\347\350-\357\361\362-\366\371-\374]"
402 "[^A-Za-z\300-\305\307\310-\317\322-\326\331-\334\340-\345\347\350-\357\361\362-\366\371-\374]" 402 "[^A-Za-z\300-\305\307\310-\317\322-\326\331-\334\340-\345\347\350-\357\361\362-\366\371-\374]"
403 "[---']" t ("-C") nil) 403 "[-']" t ("-C") nil)
404 ("svenska" ;7 bit swedish mode 404 ("svenska" ;7 bit swedish mode
405 "[A-Za-z}{|\\133\\135\\\\]" "[^A-Za-z}{|\\133\\135\\\\]" 405 "[A-Za-z}{|\\133\\135\\\\]" "[^A-Za-z}{|\\133\\135\\\\]"
406 "[---']" nil ("-C") nil) 406 "[-']" nil ("-C") nil)
407 ("svenska8" ;8 bit swedish mode 407 ("svenska8" ;8 bit swedish mode
408 "[A-Za-z\345\344\366\305\304\366]" "[^A-Za-z\345\344\366\305\304\366]" 408 "[A-Za-z\345\344\366\305\304\366]" "[^A-Za-z\345\344\366\305\304\366]"
409 "[---']" nil ("-C" "-d" "svenska") "~list") ; Add `"-T" "list"' instead? 409 "[-']" nil ("-C" "-d" "svenska") "~list") ; Add `"-T" "list"' instead?
410 ("francais" 410 ("francais"
411 "[A-Za-z]" "[^A-Za-z]" "[---`'\^]" nil nil nil) 411 "[A-Za-z]" "[^A-Za-z]" "[-`'\^]" nil nil nil)
412 ("dansk" ; dansk.aff 412 ("dansk" ; dansk.aff
413 "[A-Z\306\330\305a-z\346\370\345]" "[^A-Z\306\330\305a-z\346\370\345]" 413 "[A-Z\306\330\305a-z\346\370\345]" "[^A-Z\306\330\305a-z\346\370\345]"
414 "[---]" nil ("-C") nil) 414 "[-]" nil ("-C") nil)
415 ) 415 )
416 "An alist of dictionaries and their associated parameters. 416 "An alist of dictionaries and their associated parameters.
417 417
@@ -1484,7 +1484,7 @@ With prefix argument, set the default directory."
1484 (re-search-forward "[][()$]" limit t)) 1484 (re-search-forward "[][()$]" limit t))
1485 (setq string (concat "^" (buffer-substring start limit) "\n"))) 1485 (setq string (concat "^" (buffer-substring start limit) "\n")))
1486 (goto-char limit)))) 1486 (goto-char limit))))
1487 ((looking-at "[---#@*+!%~^]") ; SKIP SPECIAL ISPELL CHARACTERS 1487 ((looking-at "[-#@*+!%~^]") ; SKIP SPECIAL ISPELL CHARACTERS
1488 (forward-char 1)) 1488 (forward-char 1))
1489 ((or (re-search-forward ispell-casechars end t) ; TEXT EXISTS... 1489 ((or (re-search-forward ispell-casechars end t) ; TEXT EXISTS...
1490 (re-search-forward "[][()$]" end t)) ; or MATH COMMANDS... 1490 (re-search-forward "[][()$]" end t)) ; or MATH COMMANDS...
@@ -1800,7 +1800,7 @@ news-reply-mode-hook or mail-mode-hook to the following lambda expression:
1800 ;;(search-forward mail-header-separator nil t) 1800 ;;(search-forward mail-header-separator nil t)
1801 (while (if internal-messagep 1801 (while (if internal-messagep
1802 (< (point) internal-messagep) 1802 (< (point) internal-messagep)
1803 (and (looking-at "[a-zA-Z---]+:\\|\t\\| ") 1803 (and (looking-at "[-a-zA-Z]+:\\|\t\\| ")
1804 (not (eobp)))) 1804 (not (eobp))))
1805 1805
1806 ;; spell check Subject: field without Re:'s. 1806 ;; spell check Subject: field without Re:'s.
diff --git a/lisp/textmodes/texinfmt.el b/lisp/textmodes/texinfmt.el
index 4ada1087795..fc079976c8b 100644
--- a/lisp/textmodes/texinfmt.el
+++ b/lisp/textmodes/texinfmt.el
@@ -1882,9 +1882,9 @@ Default is to leave paragraph indentation as is."
1882 ;; are used to underline it. This could occur if the line following 1882 ;; are used to underline it. This could occur if the line following
1883 ;; the underlining is not an index entry and has text within it. 1883 ;; the underlining is not an index entry and has text within it.
1884 (let* ((previous-paragraph-separate paragraph-separate) 1884 (let* ((previous-paragraph-separate paragraph-separate)
1885 (paragraph-separate (concat paragraph-separate "\\|^[=*---.]+")) 1885 (paragraph-separate (concat paragraph-separate "\\|^[-=*.]+"))
1886 (previous-paragraph-start paragraph-start) 1886 (previous-paragraph-start paragraph-start)
1887 (paragraph-start (concat paragraph-start "\\|^[=*---.]+"))) 1887 (paragraph-start (concat paragraph-start "\\|^[-=*.]+")))
1888 (unwind-protect 1888 (unwind-protect
1889 (fill-paragraph nil) 1889 (fill-paragraph nil)
1890 (setq paragraph-separate previous-paragraph-separate) 1890 (setq paragraph-separate previous-paragraph-separate)