[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/inf-clojure ef8c830 030/313: Use #' where appropriate
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/inf-clojure ef8c830 030/313: Use #' where appropriate |
Date: |
Wed, 11 Aug 2021 09:59:40 -0400 (EDT) |
branch: elpa/inf-clojure
commit ef8c830c40d6623f85f1da2a42adc83e3564df25
Author: Bozhidar Batsov <bozhidar@tradeo.com>
Commit: Bozhidar Batsov <bozhidar@tradeo.com>
Use #' where appropriate
---
README.md | 2 +-
inf-clojure.el | 12 ++++++------
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/README.md b/README.md
index c5c14d2..d8d3cd8 100644
--- a/README.md
+++ b/README.md
@@ -36,7 +36,7 @@ Add the following to your Emacs config to enable
`inf-clojure-minor-mode` for Clojure source buffers:
```el
-(add-hook 'clojure-mode-hook 'inf-clojure-minor-mode)
+(add-hook 'clojure-mode-hook #'inf-clojure-minor-mode)
```
## Usage
diff --git a/inf-clojure.el b/inf-clojure.el
index a33517c..0c88d71 100644
--- a/inf-clojure.el
+++ b/inf-clojure.el
@@ -127,7 +127,7 @@ The following commands are available:
:lighter "" :keymap inf-clojure-minor-mode-map
(make-local-variable 'completion-at-point-functions)
(add-to-list 'completion-at-point-functions
- 'inf-clojure-completion-at-point))
+ #'inf-clojure-completion-at-point))
(defcustom inf-clojure-program "lein repl"
"Program name for invoking an inferior Clojure in Inferior Clojure mode."
@@ -235,11 +235,11 @@ to continue it."
(setq comint-prompt-regexp inf-clojure-prompt)
(setq mode-line-process '(":%s"))
(clojure-mode-variables)
- (setq comint-get-old-input (function inf-clojure-get-old-input))
- (setq comint-input-filter (function inf-clojure-input-filter))
+ (setq comint-get-old-input #'inf-clojure-get-old-input)
+ (setq comint-input-filter #'inf-clojure-input-filter)
(set (make-local-variable 'comint-prompt-read-only)
inf-clojure-prompt-read-only)
- (add-hook 'comint-preoutput-filter-functions 'inf-clojure-preoutput-filter
nil t)
- (add-hook 'completion-at-point-functions 'inf-clojure-completion-at-point
nil t))
+ (add-hook 'comint-preoutput-filter-functions #'inf-clojure-preoutput-filter
nil t)
+ (add-hook 'completion-at-point-functions #'inf-clojure-completion-at-point
nil t))
(defun inf-clojure-get-old-input ()
"Return a string containing the sexp ending at point."
@@ -297,7 +297,7 @@ of `inf-clojure-program'). Runs the hooks from
;; run the new process in the project's root when in a project folder
(let ((default-directory (inf-clojure-project-root))
(cmdlist (split-string cmd)))
- (set-buffer (apply (function make-comint)
+ (set-buffer (apply #'make-comint
"inf-clojure" (car cmdlist) nil (cdr cmdlist)))
(inf-clojure-mode)))
(setq inf-clojure-buffer "*inf-clojure*")
- [nongnu] elpa/inf-clojure 1f6f949 019/313: Add command inf-clojure-set-ns, (continued)
- [nongnu] elpa/inf-clojure 1f6f949 019/313: Add command inf-clojure-set-ns, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure ca57a86 020/313: [Fix #3] Remove automatic addition of inf-clojure-minor-mode to clojure-mode-hook, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 7272678 007/313: clojure -> Clojure, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 1392907 015/313: Add command clojure-show-ns-vars, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 1dfc5f7 023/313: Depend of clojure-mode 4.0, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 5debecc 024/313: Release 1.0, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure b61efe1 008/313: Make the completion command customizable, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 7b377a4 013/313: Drop redundant function, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure f65ce48 021/313: Enable completion in inf-clojure-minor-mode, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 7b9e0d1 029/313: Code style, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure ef8c830 030/313: Use #' where appropriate,
ELPA Syncer <=
- [nongnu] elpa/inf-clojure b897bb8 031/313: Show arglist in the minibuffer for better usability, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 89035ee 033/313: Merge pull request #9 from mavbozo/ms-windows-hang, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure dd2b4fc 038/313: Code style, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 898a319 041/313: Improve the README a bit, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure ff20773 044/313: Release 1.2.0, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 0652692 012/313: Preprocess the output from interactive commands, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 85d3d41 014/313: Extract a chomp helper, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure abb5a53 017/313: Add macroexpand command, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 3c2a1ed 022/313: Rename switch-to-clojure to inf-clojure-switch-to-repl, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure f00b2b5 026/313: Add a menu for inf-clojure-minor-mode, ELPA Syncer, 2021/08/11