[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dash 9dfb01a 050/316: Correct use of eval-after-load
From: |
ELPA Syncer |
Subject: |
[elpa] externals/dash 9dfb01a 050/316: Correct use of eval-after-load |
Date: |
Mon, 15 Feb 2021 15:57:23 -0500 (EST) |
branch: externals/dash
commit 9dfb01a593a7e3bfa089d42c7d6e04170f62b27a
Author: Philippe Vaucher <philippe.vaucher@gmail.com>
Commit: Philippe Vaucher <philippe.vaucher@gmail.com>
Correct use of eval-after-load
With a symbol, only the file providing the feature triggers the
eval-after-load. With a string, any file named the same way triggers
it. This is problematic for custom configurations named after
packages.
---
README.md | 2 +-
dash-template.texi | 2 +-
dash.el | 2 +-
dash.info | 2 +-
dash.texi | 2 +-
readme-template.md | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index 2b69225..ad03d06 100644
--- a/README.md
+++ b/README.md
@@ -37,7 +37,7 @@ To get function combinators:
Font lock of dash functions in emacs lisp buffers is now optional.
Include this in your emacs settings to get syntax highlighting:
- (eval-after-load "dash" '(dash-enable-font-lock))
+ (eval-after-load 'dash '(dash-enable-font-lock))
## Functions
diff --git a/dash-template.texi b/dash-template.texi
index fe6bcd4..fed63b7 100644
--- a/dash-template.texi
+++ b/dash-template.texi
@@ -125,7 +125,7 @@ Font lock of dash functions in emacs lisp buffers is now
optional.
Include this in your emacs settings to get syntax highlighting:
@lisp
-(eval-after-load "dash" '(dash-enable-font-lock))
+(eval-after-load 'dash '(dash-enable-font-lock))
@end lisp
@node Functions
diff --git a/dash.el b/dash.el
index 4444a10..ce62b84 100644
--- a/dash.el
+++ b/dash.el
@@ -2353,7 +2353,7 @@ structure such as plist or alist."
(defun dash-enable-font-lock ()
"Add syntax highlighting to dash functions, macros and magic values."
- (eval-after-load "lisp-mode"
+ (eval-after-load 'lisp-mode
'(progn
(let ((new-keywords '(
"-each"
diff --git a/dash.info b/dash.info
index f94cd19..6ab0667 100644
--- a/dash.info
+++ b/dash.info
@@ -131,7 +131,7 @@ File: dash.info, Node: Syntax highlighting of dash
functions, Prev: Using in a
Font lock of dash functions in emacs lisp buffers is now optional.
Include this in your emacs settings to get syntax highlighting:
- (eval-after-load "dash" '(dash-enable-font-lock))
+ (eval-after-load 'dash '(dash-enable-font-lock))
File: dash.info, Node: Functions, Next: Development, Prev: Installation,
Up: Top
diff --git a/dash.texi b/dash.texi
index 94d8ec9..78c8d44 100644
--- a/dash.texi
+++ b/dash.texi
@@ -140,7 +140,7 @@ Font lock of dash functions in emacs lisp buffers is now
optional.
Include this in your emacs settings to get syntax highlighting:
@lisp
-(eval-after-load "dash" '(dash-enable-font-lock))
+(eval-after-load 'dash '(dash-enable-font-lock))
@end lisp
@node Functions
diff --git a/readme-template.md b/readme-template.md
index fec9979..337b3d9 100644
--- a/readme-template.md
+++ b/readme-template.md
@@ -37,7 +37,7 @@ To get function combinators:
Font lock of dash functions in emacs lisp buffers is now optional.
Include this in your emacs settings to get syntax highlighting:
- (eval-after-load "dash" '(dash-enable-font-lock))
+ (eval-after-load 'dash '(dash-enable-font-lock))
## Functions
- [elpa] externals/dash 0100584 033/316: Correct typo of 'does' to 'do' in -map-when docs, (continued)
- [elpa] externals/dash 0100584 033/316: Correct typo of 'does' to 'do' in -map-when docs, ELPA Syncer, 2021/02/15
- [elpa] externals/dash b7ba212 036/316: Edebug support for threading macros (#188), ELPA Syncer, 2021/02/15
- [elpa] externals/dash d4bccfe 037/316: Add annotations to pure functions. (#199), ELPA Syncer, 2021/02/15
- [elpa] externals/dash 4b805e1 041/316: Update README, ELPA Syncer, 2021/02/15
- [elpa] externals/dash bcc74b5 045/316: [#200] Define setters for -first-item and -last-item, ELPA Syncer, 2021/02/15
- [elpa] externals/dash a9f90d7 016/316: Add -select-column(s), ELPA Syncer, 2021/02/15
- [elpa] externals/dash 27b1ea5 030/316: Update changelog for 2.12.x., ELPA Syncer, 2021/02/15
- [elpa] externals/dash 52e7eb4 031/316: Merge pull request #191 from Wilfred/update_changelog, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 3075aea 040/316: Add -unzip, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 2996a0d 035/316: Add a LICENSE file (#194), ELPA Syncer, 2021/02/15
- [elpa] externals/dash 9dfb01a 050/316: Correct use of eval-after-load,
ELPA Syncer <=
- [elpa] externals/dash 75cde71 052/316: Ensure that -first-item is as fast as car, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 05dc0aa 062/316: Add copyright assignment statement to documentation, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 4de2189 027/316: [Feature #185] -cut <> in first slot is a function, ELPA Syncer, 2021/02/15
- [elpa] externals/dash b45b38a 039/316: Fix typo, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 07c61f5 046/316: [#200] Add tests for generalized variables, ELPA Syncer, 2021/02/15
- [elpa] externals/dash ff323e0 049/316: Fix setf on emacs23 (#205), ELPA Syncer, 2021/02/15
- [elpa] externals/dash 958e3fb 051/316: Merge pull request #206 from Silex/master, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 98e819e 053/316: Merge pull request #210 from Wilfred/car_opcode_with_first_item, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 6a57833 054/316: Add -iota (#207), ELPA Syncer, 2021/02/15
- [elpa] externals/dash 1e14307 061/316: Merge pull request #221 from zck/it-anywhere-in-->, ELPA Syncer, 2021/02/15