diff options
| -rw-r--r-- | doc/misc/sc.texi | 17 | ||||
| -rw-r--r-- | lisp/mail/supercite.el | 3 |
2 files changed, 5 insertions, 15 deletions
diff --git a/doc/misc/sc.texi b/doc/misc/sc.texi index 1f7b73dd73b..80512292c32 100644 --- a/doc/misc/sc.texi +++ b/doc/misc/sc.texi | |||
| @@ -775,18 +775,6 @@ MUA calls @code{sc-cite-original} at the right time. As mentioned | |||
| 775 | above, some MUAs handle this differently. Read the sections that follow | 775 | above, some MUAs handle this differently. Read the sections that follow |
| 776 | pertaining to the MUAs you are using. | 776 | pertaining to the MUAs you are using. |
| 777 | 777 | ||
| 778 | @vindex sc-load-hook | ||
| 779 | @vindex load-hook (sc-) | ||
| 780 | @vindex sc-pre-hook | ||
| 781 | @vindex pre-hook (sc-) | ||
| 782 | One final note. After Supercite is loaded into your Emacs session, it | ||
| 783 | runs the hook @code{sc-load-hook}. You can put any customizations into | ||
| 784 | this hook since it is only run once. This will not work, however, if | ||
| 785 | your Emacs maintainer has put Supercite into your dumped Emacs image. | ||
| 786 | In that case, you can use the @code{sc-pre-hook} variable, but this will | ||
| 787 | get executed every time @code{sc-cite-original} is called. @xref{Reply | ||
| 788 | Buffer Initialization}. | ||
| 789 | |||
| 790 | @node Replying and Yanking | 778 | @node Replying and Yanking |
| 791 | @chapter Replying and Yanking | 779 | @chapter Replying and Yanking |
| 792 | 780 | ||
| @@ -964,8 +952,6 @@ reset certain variables set in @code{sc-pre-hook}. | |||
| 964 | @cindex gin-mode | 952 | @cindex gin-mode |
| 965 | @findex sc-setup-filladapt | 953 | @findex sc-setup-filladapt |
| 966 | @findex setup-filladapt (sc-) | 954 | @findex setup-filladapt (sc-) |
| 967 | @vindex sc-load-hook | ||
| 968 | @vindex load-hook (sc-) | ||
| 969 | 955 | ||
| 970 | Supercite will automatically fill newly cited text from the original | 956 | Supercite will automatically fill newly cited text from the original |
| 971 | message unless the variable @code{sc-auto-fill-region-p} has a | 957 | message unless the variable @code{sc-auto-fill-region-p} has a |
| @@ -979,7 +965,8 @@ two best known are @dfn{filladapt} and @dfn{gin-mode}. Both work well | |||
| 979 | with Supercite and both are available at the normal Emacs Lisp archive | 965 | with Supercite and both are available at the normal Emacs Lisp archive |
| 980 | sites. @dfn{gin-mode} works pretty well out of the box, but if you use | 966 | sites. @dfn{gin-mode} works pretty well out of the box, but if you use |
| 981 | @dfn{filladapt}, you may want to run the function | 967 | @dfn{filladapt}, you may want to run the function |
| 982 | @code{sc-setup-filladapt} from your @code{sc-load-hook}. This simply | 968 | @code{sc-setup-filladapt} after loading @file{supercite} |
| 969 | (e.g., using @code{with-eval-after-load}). This simply | ||
| 983 | makes @dfn{filladapt} a little more Supercite savvy than its default | 970 | makes @dfn{filladapt} a little more Supercite savvy than its default |
| 984 | setup. | 971 | setup. |
| 985 | 972 | ||
diff --git a/lisp/mail/supercite.el b/lisp/mail/supercite.el index 3d4ccf90e1b..b38b16f699d 100644 --- a/lisp/mail/supercite.el +++ b/lisp/mail/supercite.el | |||
| @@ -302,6 +302,9 @@ during the initial citing via `sc-cite-original'." | |||
| 302 | "Hook which gets run once after Supercite loads." | 302 | "Hook which gets run once after Supercite loads." |
| 303 | :type 'hook | 303 | :type 'hook |
| 304 | :group 'supercite-hooks) | 304 | :group 'supercite-hooks) |
| 305 | (make-obsolete-variable 'sc-load-hook | ||
| 306 | "use `with-eval-after-load' instead." "26.1") | ||
| 307 | |||
| 305 | (defcustom sc-pre-hook nil | 308 | (defcustom sc-pre-hook nil |
| 306 | "Hook which gets run before each invocation of `sc-cite-original'." | 309 | "Hook which gets run before each invocation of `sc-cite-original'." |
| 307 | :type 'hook | 310 | :type 'hook |