-
-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Fix use of paredit-space-for-delimiter-predicates; fixes #736
All along we had been using `add-hook` to update paredit's paredit-space-for-delimiter-predicates. Commit 3a9675d started supply `t` for the optional LOCAL argument to add-hook, which is the correct way set a local value for hook variables. The problem is, paredit-space-for-delimiter-predicates was never a hook variable -- paredit doesn't use it via some run-hook variant, and so it chokes on the `t` value. Instead just setq-local it in each of our major modes, which should be fine because they are major modes.
1 parent
3dc8c17
commit f4fe6dd
Showing
3 changed files
with
6 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters