[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/julia-mode 74e13dc460 16/22: use cl-flet
|
From: |
ELPA Syncer |
|
Subject: |
[nongnu] elpa/julia-mode 74e13dc460 16/22: use cl-flet |
|
Date: |
Thu, 4 May 2023 11:00:52 -0400 (EDT) |
branch: elpa/julia-mode
commit 74e13dc46012b602520d2ef34c79c29eae596dea
Author: Tamás K. Papp <tkpapp@gmail.com>
Commit: Tamás K. Papp <tkpapp@gmail.com>
use cl-flet
---
julia-mode.el | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/julia-mode.el b/julia-mode.el
index 65e7c52b82..4f77522e2f 100644
--- a/julia-mode.el
+++ b/julia-mode.el
@@ -90,13 +90,13 @@ represent a set.")
(when (and (= (char-after) ?\\) (not (eobp)))
(forward-char)
(let ((beg (point)))
- (defun next-char-matches? ()
- (let* ((end (1+ (point)))
- (str (buffer-substring-no-properties beg end))
- (valid? (gethash str julia-mode--latexsubs-partials)))
- valid?))
- (while (and (not (eobp)) (next-char-matches?))
- (forward-char))
+ (cl-flet ((next-char-matches? ()
+ (let* ((end (1+ (point)))
+ (str (buffer-substring-no-properties beg end))
+ (valid? (gethash str
julia-mode--latexsubs-partials)))
+ valid?)))
+ (while (and (not (eobp)) (next-char-matches?))
+ (forward-char)))
(point)))))
(defface julia-macro-face
- [nongnu] elpa/julia-mode d52cb3e885 10/22: Provide alternative to indent-for-tab-command for use with company, (continued)
- [nongnu] elpa/julia-mode d52cb3e885 10/22: Provide alternative to indent-for-tab-command for use with company, ELPA Syncer, 2023/05/04
- [nongnu] elpa/julia-mode 77ff4f1146 15/22: comment code, fix docstring width, ELPA Syncer, 2023/05/04
- [nongnu] elpa/julia-mode d684bf172a 17/22: further byte compilation docstring warning fixes, ELPA Syncer, 2023/05/04
- [nongnu] elpa/julia-mode 759e8a8e57 18/22: Merge branch 'master' into tp/find-latexsub-end, ELPA Syncer, 2023/05/04
- [nongnu] elpa/julia-mode c87949315f 02/22: Remove hack for indentation in strings, ELPA Syncer, 2023/05/04
- [nongnu] elpa/julia-mode 4d2047666f 04/22: Remove old latexsub implementation, ELPA Syncer, 2023/05/04
- [nongnu] elpa/julia-mode 0160fecf90 05/22: Override TAB to do completion in julia-mode buffers, ELPA Syncer, 2023/05/04
- [nongnu] elpa/julia-mode f92227a87f 09/22: Fix whitespace, ELPA Syncer, 2023/05/04
- [nongnu] elpa/julia-mode f359fd01c5 12/22: Add predicate to "around" latex symbol completion, ELPA Syncer, 2023/05/04
- [nongnu] elpa/julia-mode 347c5c11c5 14/22: cleanup tests, bit more verbose to compare matched string, ELPA Syncer, 2023/05/04
- [nongnu] elpa/julia-mode 74e13dc460 16/22: use cl-flet,
ELPA Syncer <=
- [nongnu] elpa/julia-mode 15326d6992 08/22: Remove extraneous -mode suffix from julia-- functions, ELPA Syncer, 2023/05/04
- [nongnu] elpa/julia-mode 016721004c 19/22: Merge pull request #185 from JuliaEditorSupport/tp/find-latexsub-end, ELPA Syncer, 2023/05/04
- [nongnu] elpa/julia-mode 8f3afcb99e 21/22: ignore warnings on snaphot, ELPA Syncer, 2023/05/04
- [nongnu] elpa/julia-mode f854352d76 11/22: Fix byte-compilation warnings for company-integration code, ELPA Syncer, 2023/05/04
- [nongnu] elpa/julia-mode 7e301f4414 22/22: Merge pull request #186 from tpapp/tp/remove-emacs-25, ELPA Syncer, 2023/05/04
- [nongnu] elpa/julia-mode d2b28644d2 06/22: Stop overriding regex in julia-mode-abbrev-table, ELPA Syncer, 2023/05/04
- [nongnu] elpa/julia-mode c8e33f81fa 13/22: Use a hash table to look up where symbols end., ELPA Syncer, 2023/05/04
- [nongnu] elpa/julia-mode a39c9d2dd3 07/22: Automatically substitute LaTeX symbols after completion., ELPA Syncer, 2023/05/04
- [nongnu] elpa/julia-mode 26a1c2bfa9 20/22: require Emacs 26, ELPA Syncer, 2023/05/04