summary refs log tree commit diff
path: root/doc/package-notes.xml
diff options
context:
space:
mode:
authorJohn Ericson <subscribe@JohnEricson.me>2018-09-24 18:04:35 -0400
committerGitHub <noreply@github.com>2018-09-24 18:04:35 -0400
commitc896936cd13d91bc1e0ffa68f3903d44b929a63f (patch)
tree16a592aae5f32c787e4d4f8ca0d818164c01724c /doc/package-notes.xml
parentb719e29d95928273fa27a8a6a5e21e46e63fdaa7 (diff)
parentb9dce11712d2bfc8cd367df5a7f737a5cec1e252 (diff)
Merge pull request #47299 from obsidiansystems/overrideScope-order
lib: Deprecate `overrideScope` in lieu of `overrideScope'` taking arguments in the conventional order for 18.09
Diffstat (limited to 'doc/package-notes.xml')
-rw-r--r--doc/package-notes.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/package-notes.xml b/doc/package-notes.xml
index 1f088e8aaa0ea..354b17e739e13 100644
--- a/doc/package-notes.xml
+++ b/doc/package-notes.xml
@@ -643,15 +643,15 @@ cp ${myEmacsConfig} $out/share/emacs/site-lisp/default.el
     required dependencies manually - but it's tedious and there is always a
     possibility that an unwanted dependency will sneak in through some other
     package. To completely override such a package you can use
-    <varname>overrideScope</varname>.
+    <varname>overrideScope'</varname>.
    </para>
 
 <screen>
-overrides = super: self: rec {
+overrides = self: super: rec {
   haskell-mode = self.melpaPackages.haskell-mode;
   ...
 };
-((emacsPackagesNgGen emacs).overrideScope overrides).emacsWithPackages (p: with p; [
+((emacsPackagesNgGen emacs).overrideScope' overrides).emacsWithPackages (p: with p; [
   # here both these package will use haskell-mode of our own choice
   ghc-mod
   dante