[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/macrostep 2390cec 075/110: slime-sexp-at-point may return
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/macrostep 2390cec 075/110: slime-sexp-at-point may return nil, deal with it |
Date: |
Sat, 7 Aug 2021 09:18:06 -0400 (EDT) |
branch: elpa/macrostep
commit 2390cec66667f56313cf71bed1e3a17f73af0247
Author: Luís Oliveira <loliveira@common-lisp.net>
Commit: Luís Oliveira <loliveira@common-lisp.net>
slime-sexp-at-point may return nil, deal with it
(in macrostep-slime-macro-form-p)
---
macrostep.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/macrostep.el b/macrostep.el
index ebf01d4..5bb1830 100644
--- a/macrostep.el
+++ b/macrostep.el
@@ -985,9 +985,10 @@ sub-forms. See also `macrostep-sexp-at-point'."
'macrostep-compiler-macro-face)))))))
(defun macrostep-slime-macro-form-p (string)
- (slime-eval
- `(swank-macrostep:macro-form-p
- ,string nil ,macrostep-expand-compiler-macros)))
+ (when string
+ (slime-eval
+ `(swank-macrostep:macro-form-p
+ ,string nil ,macrostep-expand-compiler-macros))))
(defun macrostep-slime-environment-at-point ()
(save-excursion
- [nongnu] elpa/macrostep 874c790 058/110: WIP: smarter SLIME macroexpansion, (continued)
- [nongnu] elpa/macrostep 874c790 058/110: WIP: smarter SLIME macroexpansion, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep d7991b4 070/110: Track forms using the printer rather than the reader, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep dd14d5c 077/110: Remove unused function `bindings-to-environment`, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep b1c1230 079/110: More tests, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 4b382cd 088/110: Identify Elisp compiler-macros more selectively, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep a3338d3 104/110: Make test script exit non-zero on failure, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep e537612 106/110: compmiler-macro changed to compiler-macro, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep a5b980e 035/110: Update readme, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep fbd61eb 030/110: Tests for macrolet/cl-macrolet support, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep afed3cf 072/110: MARKER-CHAR-POSITION => MARKER-CHAR-ID, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 2390cec 075/110: slime-sexp-at-point may return nil, deal with it,
ELPA Syncer <=
- [nongnu] elpa/macrostep 2c5bda2 090/110: Update README, bump version number, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 6c8ae5b 098/110: Remove call to `define-error` for Emacs <24.4, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 29fd924 107/110: Move overlay face to a different overlay, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep d459ded 024/110: bump version number, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 96e0c02 041/110: WIP: Add generic interface for other languages, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep e9a95f4 049/110: Fix `macrostep--macro-form-info`, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep e35b61d 047/110: Add compiler-macro support for SLIME, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 3766ffb 043/110: Hack to propertize macros in SLIME expansions, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 522226f 050/110: Improve `macrostep-slime-macro-form-p`, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 059dda6 066/110: Also hook into slime-repl-mode, ELPA Syncer, 2021/08/07