aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorGlenn Morris2016-12-03 19:27:41 -0800
committerGlenn Morris2016-12-03 19:27:41 -0800
commitdd210a63dfdb1b021c8a6b5f29c8e6b0d428d5a2 (patch)
tree476fbe9f3e6c280a87c76d6e52d3f880ff86c429 /doc/misc
parent041e90962b1309ff013c85ee9b537800a332a94c (diff)
downloademacs-dd210a63dfdb1b021c8a6b5f29c8e6b0d428d5a2.tar.gz
emacs-dd210a63dfdb1b021c8a6b5f29c8e6b0d428d5a2.zip
Obsolete sc-load-hook in favor of eval-after-load
* lisp/mail/supercite.el (sc-load-hook): Make obsolete. * doc/misc/sc.texi (Getting Connected, Filling Cited Text): No longer mention sc-load-hook.
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/sc.texi17
1 files changed, 2 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
775above, some MUAs handle this differently. Read the sections that follow 775above, some MUAs handle this differently. Read the sections that follow
776pertaining to the MUAs you are using. 776pertaining 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-)
782One final note. After Supercite is loaded into your Emacs session, it
783runs the hook @code{sc-load-hook}. You can put any customizations into
784this hook since it is only run once. This will not work, however, if
785your Emacs maintainer has put Supercite into your dumped Emacs image.
786In that case, you can use the @code{sc-pre-hook} variable, but this will
787get executed every time @code{sc-cite-original} is called. @xref{Reply
788Buffer 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
970Supercite will automatically fill newly cited text from the original 956Supercite will automatically fill newly cited text from the original
971message unless the variable @code{sc-auto-fill-region-p} has a 957message 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
979with Supercite and both are available at the normal Emacs Lisp archive 965with Supercite and both are available at the normal Emacs Lisp archive
980sites. @dfn{gin-mode} works pretty well out of the box, but if you use 966sites. @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
983makes @dfn{filladapt} a little more Supercite savvy than its default 970makes @dfn{filladapt} a little more Supercite savvy than its default
984setup. 971setup.
985 972