diff options
| author | Karl Heuer | 1999-03-10 08:46:28 +0000 |
|---|---|---|
| committer | Karl Heuer | 1999-03-10 08:46:28 +0000 |
| commit | c6f9f4da8940a43822ee6207a27bb4a75ccb3d01 (patch) | |
| tree | 6c8ed3cf33dd3cb0dd97e051b9bd8f9d112e7047 | |
| parent | 5062e90da83a860a2b2e922f8516c11021d96843 (diff) | |
| download | emacs-c6f9f4da8940a43822ee6207a27bb4a75ccb3d01.tar.gz emacs-c6f9f4da8940a43822ee6207a27bb4a75ccb3d01.zip | |
(ispell-dictionary-alist-1): Shorten autoloaded line.
(ispell-dictionary-alist-2): Likewise.
(ispell-dictionary-alist-3, ispell-dictionary-alist-4): New vars.
(ispell-dictionary-alist-5, ispell-dictionary-alist-6): New vars.
(ispell-dictionary-alist): Build from six pieces, not just two.
| -rw-r--r-- | lisp/textmodes/ispell.el | 54 |
1 files changed, 41 insertions, 13 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index f3e46e3df8a..b14f4e39d98 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el | |||
| @@ -372,7 +372,7 @@ for language-specific arguments." | |||
| 372 | 372 | ||
| 373 | ;;; split dictionary so line length is smaller in loaddefs.el | 373 | ;;; split dictionary so line length is smaller in loaddefs.el |
| 374 | 374 | ||
| 375 | ;;; First half of dictionary, shortened for loaddefs.el | 375 | ;;; First part of dictionary, shortened for loaddefs.el |
| 376 | ;;;###autoload | 376 | ;;;###autoload |
| 377 | (setq | 377 | (setq |
| 378 | ispell-dictionary-alist-1 | 378 | ispell-dictionary-alist-1 |
| @@ -389,8 +389,14 @@ for language-specific arguments." | |||
| 389 | ("castellano8" ; 8 bit Spanish mode | 389 | ("castellano8" ; 8 bit Spanish mode |
| 390 | "[A-Z\301\311\315\321\323\332\334a-z\341\351\355\361\363\372\374]" | 390 | "[A-Z\301\311\315\321\323\332\334a-z\341\351\355\361\363\372\374]" |
| 391 | "[^A-Z\301\311\315\321\323\332\334a-z\341\351\355\361\363\372\374]" | 391 | "[^A-Z\301\311\315\321\323\332\334a-z\341\351\355\361\363\372\374]" |
| 392 | "[---]" nil ("-B" "-d" "castellano") "~latin1" iso-8859-1) | 392 | "[---]" nil ("-B" "-d" "castellano") "~latin1" iso-8859-1))) |
| 393 | ("czech" | 393 | |
| 394 | |||
| 395 | ;;; Second part of dictionary, shortened for loaddefs.el | ||
| 396 | ;;;###autoload | ||
| 397 | (setq | ||
| 398 | ispell-dictionary-alist-2 | ||
| 399 | '(("czech" | ||
| 394 | "[A-Za-z\301\311\314\315\323\332\331\335\256\251\310\330\317\253\322\341\351\354\355\363\372\371\375\276\271\350\370\357\273\362]" | 400 | "[A-Za-z\301\311\314\315\323\332\331\335\256\251\310\330\317\253\322\341\351\354\355\363\372\371\375\276\271\350\370\357\273\362]" |
| 395 | "[^A-Za-z\301\311\314\315\323\332\331\335\256\251\310\330\317\253\322\341\351\354\355\363\372\371\375\276\271\350\370\357\273\362]" | 401 | "[^A-Za-z\301\311\314\315\323\332\331\335\256\251\310\330\317\253\322\341\351\354\355\363\372\371\375\276\271\350\370\357\273\362]" |
| 396 | "" nil ("-B" "-d" "czech") nil iso-8859-2) | 402 | "" nil ("-B" "-d" "czech") nil iso-8859-2) |
| @@ -407,10 +413,10 @@ for language-specific arguments." | |||
| 407 | "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-B") nil iso-8859-1))) | 413 | "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-B") nil iso-8859-1))) |
| 408 | 414 | ||
| 409 | 415 | ||
| 410 | ;;; Second half of dictionary, shortened for loaddefs.el | 416 | ;;; Third part of dictionary, shortened for loaddefs.el |
| 411 | ;;;###autoload | 417 | ;;;###autoload |
| 412 | (setq | 418 | (setq |
| 413 | ispell-dictionary-alist-2 | 419 | ispell-dictionary-alist-3 |
| 414 | '(("esperanto" | 420 | '(("esperanto" |
| 415 | "[A-Za-z\246\254\266\274\306\330\335\336\346\370\375\376]" | 421 | "[A-Za-z\246\254\266\274\306\330\335\336\346\370\375\376]" |
| 416 | "[^A-Za-z\246\254\266\274\306\330\335\336\346\370\375\376]" | 422 | "[^A-Za-z\246\254\266\274\306\330\335\336\346\370\375\376]" |
| @@ -423,8 +429,14 @@ for language-specific arguments." | |||
| 423 | ("francais" ; Francais.aff | 429 | ("francais" ; Francais.aff |
| 424 | "[A-Za-z\300\302\306\307\310\311\312\313\316\317\324\331\333\334\340\342\347\350\351\352\353\356\357\364\371\373\374]" | 430 | "[A-Za-z\300\302\306\307\310\311\312\313\316\317\324\331\333\334\340\342\347\350\351\352\353\356\357\364\371\373\374]" |
| 425 | "[^A-Za-z\300\302\306\307\310\311\312\313\316\317\324\331\333\334\340\342\347\350\351\352\353\356\357\364\371\373\374]" | 431 | "[^A-Za-z\300\302\306\307\310\311\312\313\316\317\324\331\333\334\340\342\347\350\351\352\353\356\357\364\371\373\374]" |
| 426 | "[---']" t nil "~list" iso-8859-1) | 432 | "[---']" t nil "~list" iso-8859-1))) |
| 427 | ("francais-tex" ; Francais.aff | 433 | |
| 434 | |||
| 435 | ;;; Fourth part of dictionary, shortened for loaddefs.el | ||
| 436 | ;;;###autoload | ||
| 437 | (setq | ||
| 438 | ispell-dictionary-alist-4 | ||
| 439 | '(("francais-tex" ; Francais.aff | ||
| 428 | "[A-Za-z\300\302\306\307\310\311\312\313\316\317\324\331\333\334\340\342\347\350\351\352\353\356\357\364\371\373\374\\]" | 440 | "[A-Za-z\300\302\306\307\310\311\312\313\316\317\324\331\333\334\340\342\347\350\351\352\353\356\357\364\371\373\374\\]" |
| 429 | "[^A-Za-z\300\302\306\307\310\311\312\313\316\317\324\331\333\334\340\342\347\350\351\352\353\356\357\364\371\373\374\\]" | 441 | "[^A-Za-z\300\302\306\307\310\311\312\313\316\317\324\331\333\334\340\342\347\350\351\352\353\356\357\364\371\373\374\\]" |
| 430 | "[---'^`\"]" t nil "~tex" iso-8859-1) | 442 | "[---'^`\"]" t nil "~tex" iso-8859-1) |
| @@ -435,8 +447,14 @@ for language-specific arguments." | |||
| 435 | ("nederlands8" ; Dutch8.aff | 447 | ("nederlands8" ; Dutch8.aff |
| 436 | "[A-Za-z\300-\305\307\310-\317\322-\326\331-\334\340-\345\347\350-\357\361\362-\366\371-\374]" | 448 | "[A-Za-z\300-\305\307\310-\317\322-\326\331-\334\340-\345\347\350-\357\361\362-\366\371-\374]" |
| 437 | "[^A-Za-z\300-\305\307\310-\317\322-\326\331-\334\340-\345\347\350-\357\361\362-\366\371-\374]" | 449 | "[^A-Za-z\300-\305\307\310-\317\322-\326\331-\334\340-\345\347\350-\357\361\362-\366\371-\374]" |
| 438 | "[']" t ("-C") nil iso-8859-1) | 450 | "[']" t ("-C") nil iso-8859-1))) |
| 439 | ("norsk" ; 8 bit Norwegian mode | 451 | |
| 452 | |||
| 453 | ;;; Fifth part of dictionary, shortened for loaddefs.el | ||
| 454 | ;;;###autoload | ||
| 455 | (setq | ||
| 456 | ispell-dictionary-alist-5 | ||
| 457 | '(("norsk" ; 8 bit Norwegian mode | ||
| 440 | "[A-Za-z\305\306\307\310\311\322\324\330\345\346\347\350\351\362\364\370]" | 458 | "[A-Za-z\305\306\307\310\311\322\324\330\345\346\347\350\351\362\364\370]" |
| 441 | "[^A-Za-z\305\306\307\310\311\322\324\330\345\346\347\350\351\362\364\370]" | 459 | "[^A-Za-z\305\306\307\310\311\322\324\330\345\346\347\350\351\362\364\370]" |
| 442 | "[\"]" nil ("-d" "norsk") "~list" iso-8859-1) | 460 | "[\"]" nil ("-d" "norsk") "~list" iso-8859-1) |
| @@ -446,8 +464,14 @@ for language-specific arguments." | |||
| 446 | ("polish" ; polish mode | 464 | ("polish" ; polish mode |
| 447 | "[A-Za-z\241\243\246\254\257\261\263\266\274\277\306\312\321\323\346\352\361\363]" | 465 | "[A-Za-z\241\243\246\254\257\261\263\266\274\277\306\312\321\323\346\352\361\363]" |
| 448 | "[^A-Za-z\241\243\246\254\257\261\263\266\274\277\306\312\321\323\346\352\361\363]" | 466 | "[^A-Za-z\241\243\246\254\257\261\263\266\274\277\306\312\321\323\346\352\361\363]" |
| 449 | "" nil ( "-d" "polish") nil iso-8859-2) | 467 | "" nil ( "-d" "polish") nil iso-8859-2))) |
| 450 | ("russian" ; russian.aff (KOI8-R charset) | 468 | |
| 469 | |||
| 470 | ;;; Sixth part of dictionary, shortened for loaddefs.el | ||
| 471 | ;;;###autoload | ||
| 472 | (setq | ||
| 473 | ispell-dictionary-alist-6 | ||
| 474 | '(("russian" ; russian.aff (KOI8-R charset) | ||
| 451 | "[\341\342\367\347\344\345\263\366\372\351\352\353\354\355\356\357\360\362\363\364\365\346\350\343\376\373\375\370\371\377\374\340\361\301\302\327\307\304\305\243\326\332\311\312\313\314\315\316\317\320\322\323\324\325\306\310\303\336\333\335\330\331\337\334\300\321]" | 475 | "[\341\342\367\347\344\345\263\366\372\351\352\353\354\355\356\357\360\362\363\364\365\346\350\343\376\373\375\370\371\377\374\340\361\301\302\327\307\304\305\243\326\332\311\312\313\314\315\316\317\320\322\323\324\325\306\310\303\336\333\335\330\331\337\334\300\321]" |
| 452 | "[^\341\342\367\347\344\345\263\366\372\351\352\353\354\355\356\357\360\362\363\364\365\346\350\343\376\373\375\370\371\377\374\340\361\301\302\327\307\304\305\243\326\332\311\312\313\314\315\316\317\320\322\323\324\325\306\310\303\336\333\335\330\331\337\334\300\321]" | 476 | "[^\341\342\367\347\344\345\263\366\372\351\352\353\354\355\356\357\360\362\363\364\365\346\350\343\376\373\375\370\371\377\374\340\361\301\302\327\307\304\305\243\326\332\311\312\313\314\315\316\317\320\322\323\324\325\306\310\303\336\333\335\330\331\337\334\300\321]" |
| 453 | "[']" t ("-C" "-d" "russian") "~latin1" iso-8859-1) | 477 | "[']" t ("-C" "-d" "russian") "~latin1" iso-8859-1) |
| @@ -460,7 +484,9 @@ for language-specific arguments." | |||
| 460 | 484 | ||
| 461 | ;;;###autoload | 485 | ;;;###autoload |
| 462 | (defcustom ispell-dictionary-alist | 486 | (defcustom ispell-dictionary-alist |
| 463 | (append ispell-dictionary-alist-1 ispell-dictionary-alist-2) | 487 | (append ispell-dictionary-alist-1 ispell-dictionary-alist-2 |
| 488 | ispell-dictionary-alist-3 ispell-dictionary-alist-4 | ||
| 489 | ispell-dictionary-alist-5 ispell-dictionary-alist-6) | ||
| 464 | "An alist of dictionaries and their associated parameters. | 490 | "An alist of dictionaries and their associated parameters. |
| 465 | 491 | ||
| 466 | Each element of this list is also a list: | 492 | Each element of this list is also a list: |
| @@ -531,7 +557,9 @@ LANGUAGE.aff file \(e.g., english.aff\)." | |||
| 531 | ;;; update the dictionaries at load time | 557 | ;;; update the dictionaries at load time |
| 532 | (unless ispell-dictionary-alist-override | 558 | (unless ispell-dictionary-alist-override |
| 533 | (setq ispell-dictionary-alist | 559 | (setq ispell-dictionary-alist |
| 534 | (append ispell-dictionary-alist-1 ispell-dictionary-alist-2))) | 560 | (append ispell-dictionary-alist-1 ispell-dictionary-alist-2 |
| 561 | ispell-dictionary-alist-3 ispell-dictionary-alist-4 | ||
| 562 | ispell-dictionary-alist-5 ispell-dictionary-alist-6))) | ||
| 535 | 563 | ||
| 536 | ;;; The preparation of the menu bar menu must be autoloaded | 564 | ;;; The preparation of the menu bar menu must be autoloaded |
| 537 | ;;; because otherwise this file gets autoloaded every time Emacs starts | 565 | ;;; because otherwise this file gets autoloaded every time Emacs starts |