aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1995-06-16 16:25:07 +0000
committerRichard M. Stallman1995-06-16 16:25:07 +0000
commitd38e5dbe43895ab8ace2cb056fbdb0825dc4e117 (patch)
tree26bc916d0382de89e47c67694de9dc9bf4d0763e
parentf468da95a7b64e1cd5c0b087a2f11996dc445ff2 (diff)
downloademacs-d38e5dbe43895ab8ace2cb056fbdb0825dc4e117.tar.gz
emacs-d38e5dbe43895ab8ace2cb056fbdb0825dc4e117.zip
Reinstalled autoloads from ispell-dictionary-alist,
ispell-menu-map, ispell-menu-lucid, and ispell-menu-map-needed.
-rw-r--r--lisp/textmodes/ispell.el42
1 files changed, 31 insertions, 11 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index 922402104b1..0f854d64b39 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -137,6 +137,7 @@
137;;; Revision 2.37 1995/6/13 12:05:28 stevens 137;;; Revision 2.37 1995/6/13 12:05:28 stevens
138;;; Removed autoload from ispell-dictionary-alist. *choices* mode-line shows 138;;; Removed autoload from ispell-dictionary-alist. *choices* mode-line shows
139;;; misspelled word. Block skip for pgp & forwarded messages added. 139;;; misspelled word. Block skip for pgp & forwarded messages added.
140;;; RMS: the autoload changes had problems and I removed them.
140;;; 141;;;
141;;; Revision 2.36 1995/2/6 17:39:38 stevens 142;;; Revision 2.36 1995/2/6 17:39:38 stevens
142;;; Properly adjust screen with different ispell-choices-win-default-height 143;;; Properly adjust screen with different ispell-choices-win-default-height
@@ -416,6 +417,7 @@ Otherwise use the minibuffer.")
416 "*Formatting function for displaying word being spell checked. 417 "*Formatting function for displaying word being spell checked.
417The function must take one string argument and return a string.") 418The function must take one string argument and return a string.")
418 419
420;;;###autoload
419(defvar ispell-personal-dictionary nil 421(defvar ispell-personal-dictionary nil
420 "*File name of your personal spelling dictionary, or nil. 422 "*File name of your personal spelling dictionary, or nil.
421If nil, the default personal dictionary, \"~/.ispell_DICTNAME\" is used, 423If nil, the default personal dictionary, \"~/.ispell_DICTNAME\" is used,
@@ -442,10 +444,12 @@ For example, '(\"-W\" \"3\") to cause it to accept all 1-3 character
442words as correct. See also `ispell-dictionary-alist', which may be used 444words as correct. See also `ispell-dictionary-alist', which may be used
443for language-specific arguments.") 445for language-specific arguments.")
444 446
445;;; ispell-dictionary-alist is set up from two subvariables above 447;;; The preparation of the menu bar menu must be autoloaded
446;;; to avoid having very long lines in loaddefs.el. 448;;; because otherwise this file gets autoloaded every time Emacs starts
447(defvar ispell-dictionary-alist 449;;; so that it can set up the menus and determine keyboard equivalents.
448 450
451;;;###autoload
452(defvar ispell-dictionary-alist-1 ; sk 9-Aug-1991 18:28
449 '((nil ; default (english.aff) 453 '((nil ; default (english.aff)
450 "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-B") nil) 454 "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-B") nil)
451 ("english" ; make english explicitly selectable 455 ("english" ; make english explicitly selectable
@@ -465,8 +469,11 @@ for language-specific arguments.")
465 ("nederlands8" ; dutch8.aff 469 ("nederlands8" ; dutch8.aff
466 "[A-Za-z\300-\305\307\310-\317\322-\326\331-\334\340-\345\347\350-\357\361\362-\366\371-\374]" 470 "[A-Za-z\300-\305\307\310-\317\322-\326\331-\334\340-\345\347\350-\357\361\362-\366\371-\374]"
467 "[^A-Za-z\300-\305\307\310-\317\322-\326\331-\334\340-\345\347\350-\357\361\362-\366\371-\374]" 471 "[^A-Za-z\300-\305\307\310-\317\322-\326\331-\334\340-\345\347\350-\357\361\362-\366\371-\374]"
468 "[']" t ("-C") nil) 472 "[']" t ("-C") nil)))
469 ("svenska" ;7 bit swedish mode 473
474;;;###autoload
475(defvar ispell-dictionary-alist-2
476 '(("svenska" ;7 bit swedish mode
470 "[A-Za-z}{|\\133\\135\\\\]" "[^A-Za-z}{|\\133\\135\\\\]" 477 "[A-Za-z}{|\\133\\135\\\\]" "[^A-Za-z}{|\\133\\135\\\\]"
471 "[']" nil ("-C") nil) 478 "[']" nil ("-C") nil)
472 ("svenska8" ;8 bit swedish mode 479 ("svenska8" ;8 bit swedish mode
@@ -485,8 +492,14 @@ for language-specific arguments.")
485 ("dansk" ; dansk.aff 492 ("dansk" ; dansk.aff
486 "[A-Z\306\330\305a-z\346\370\345]" "[^A-Z\306\330\305a-z\346\370\345]" 493 "[A-Z\306\330\305a-z\346\370\345]" "[^A-Z\306\330\305a-z\346\370\345]"
487 "" nil ("-C") nil) 494 "" nil ("-C") nil)
488 ) 495 ))
496
489 497
498;;; ispell-dictionary-alist is set up from two subvariables above
499;;; to avoid having very long lines in loaddefs.el.
500;;;###autoload
501(defvar ispell-dictionary-alist
502 (append ispell-dictionary-alist-1 ispell-dictionary-alist-2)
490 "An alist of dictionaries and their associated parameters. 503 "An alist of dictionaries and their associated parameters.
491 504
492Each element of this list is also a list: 505Each element of this list is also a list:
@@ -528,22 +541,26 @@ Note that the CASECHARS and OTHERCHARS slots of the alist should
528contain the same character set as casechars and otherchars in the 541contain the same character set as casechars and otherchars in the
529language.aff file \(e.g., english.aff\).") 542language.aff file \(e.g., english.aff\).")
530 543
531 544;;;###autoload
532(defvar ispell-menu-map nil "Key map for ispell menu") 545(defvar ispell-menu-map nil "Key map for ispell menu")
533 546
547;;;###autoload
534(defvar ispell-menu-lucid nil "Spelling menu for Lucid Emacs.") 548(defvar ispell-menu-lucid nil "Spelling menu for Lucid Emacs.")
535 549
536;;; Break out lucid menu and split into several calls to avoid having 550;;; Break out lucid menu and split into several calls to avoid having
537;;; long lines in loaddefs.el. Detect need off following constant. 551;;; long lines in loaddefs.el. Detect need off following constant.
538 552
553;;;###autoload
539(defconst ispell-menu-map-needed ; make sure this is not Lucid Emacs 554(defconst ispell-menu-map-needed ; make sure this is not Lucid Emacs
540 (and (not ispell-menu-map) 555 (and (not ispell-menu-map)
541 (string-lessp "19" emacs-version) 556;;; This is commented out because it fails in Emacs.
542 ;; make sure this isn't Lucid Emacs 557;;; due to the fact that menu-bar is loaded much later than loaddefs.
558;;; ;; make sure this isn't Lucid Emacs
559;;; (featurep 'menu-bar)
543 (not (string-match "Lucid" emacs-version)))) 560 (not (string-match "Lucid" emacs-version))))
544 561
545 562;;; Set up dictionary
546;;; setup dictionary 563;;;###autoload
547(if ispell-menu-map-needed 564(if ispell-menu-map-needed
548 (let ((dicts (reverse (cons (cons "default" nil) ispell-dictionary-alist))) 565 (let ((dicts (reverse (cons (cons "default" nil) ispell-dictionary-alist)))
549 name) 566 name)
@@ -559,6 +576,7 @@ language.aff file \(e.g., english.aff\).")
559 (list 'ispell-change-dictionary name)))))))) 576 (list 'ispell-change-dictionary name))))))))
560 577
561;;; define commands in menu in opposite order you want them to appear. 578;;; define commands in menu in opposite order you want them to appear.
579;;;###autoload
562(if ispell-menu-map-needed 580(if ispell-menu-map-needed
563 (progn 581 (progn
564 (define-key ispell-menu-map [ispell-change-dictionary] 582 (define-key ispell-menu-map [ispell-change-dictionary]
@@ -572,6 +590,7 @@ language.aff file \(e.g., english.aff\).")
572 (define-key ispell-menu-map [ispell-complete-word-interior-frag] 590 (define-key ispell-menu-map [ispell-complete-word-interior-frag]
573 '("Complete Word Frag" . ispell-complete-word-interior-frag)))) 591 '("Complete Word Frag" . ispell-complete-word-interior-frag))))
574 592
593;;;###autoload
575(if ispell-menu-map-needed 594(if ispell-menu-map-needed
576 (progn 595 (progn
577 (define-key ispell-menu-map [ispell-continue] 596 (define-key ispell-menu-map [ispell-continue]
@@ -583,6 +602,7 @@ language.aff file \(e.g., english.aff\).")
583 (define-key ispell-menu-map [ispell-buffer] 602 (define-key ispell-menu-map [ispell-buffer]
584 '("Check Buffer" . ispell-buffer)))) 603 '("Check Buffer" . ispell-buffer))))
585 604
605;;;###autoload
586(if ispell-menu-map-needed 606(if ispell-menu-map-needed
587 (progn 607 (progn
588 (define-key ispell-menu-map [ispell-message] 608 (define-key ispell-menu-map [ispell-message]