[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/julia-mode 15326d6992 08/22: Remove extraneous -mode suffi
|
From: |
ELPA Syncer |
|
Subject: |
[nongnu] elpa/julia-mode 15326d6992 08/22: Remove extraneous -mode suffix from julia-- functions |
|
Date: |
Thu, 4 May 2023 11:00:52 -0400 (EDT) |
branch: elpa/julia-mode
commit 15326d69923ae5fe5a0bb2fffa7a9350346221b7
Author: Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>
Commit: Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>
Remove extraneous -mode suffix from julia-- functions
---
julia-mode-tests.el | 2 +-
julia-mode.el | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/julia-mode-tests.el b/julia-mode-tests.el
index 45b50097d2..6b5a0e7b62 100644
--- a/julia-mode-tests.el
+++ b/julia-mode-tests.el
@@ -889,7 +889,7 @@ end" 'end-of-defun "n == 0" "return fact(x)[ \n]+end" 'end
2))
(julia-mode)
(insert contents)
(goto-char position)
- (cons (julia-mode--latexsub-start-symbol)
(julia-mode--latexsub-end-symbol))))
+ (cons (julia--latexsub-start-symbol) (julia--latexsub-end-symbol))))
(ert-deftest julia--test-find-latex ()
(should (equal (julia--find-latex "\\alpha " 7) (cons 1 7)))
diff --git a/julia-mode.el b/julia-mode.el
index 94cf87e7e6..f944dad284 100644
--- a/julia-mode.el
+++ b/julia-mode.el
@@ -808,7 +808,7 @@ strings."
(define-key julia-mode-map (kbd "<backtab>") 'julia-manual-deindent)
;; (See Julia issue #8947 for why we don't use the Emacs tex input mode.)
-(defun julia-mode--latexsub-start-symbol ()
+(defun julia--latexsub-start-symbol ()
"Determine the start location for LaTeX-like symbol at point.
If there is not a LaTeX-like symbol at point, return nil."
(save-excursion
@@ -824,7 +824,7 @@ If there is not a LaTeX-like symbol at point, return nil."
(when (= ?\\ (char-before))
(- (point) 1))))
-(defun julia-mode--latexsub-end-symbol ()
+(defun julia--latexsub-end-symbol ()
"Determine the end location for LaTeX-like symbol at point."
(save-excursion
(while (not (or (eobp)
@@ -836,9 +836,9 @@ If there is not a LaTeX-like symbol at point, return nil."
(defun julia-mode-latexsub-completion-at-point-around ()
"Return completion for LaTeX-like symbol around point.
Suitable for use in `completion-at-point-functions'."
- (let ((beg (julia-mode--latexsub-start-symbol)))
+ (let ((beg (julia--latexsub-start-symbol)))
(when beg
- (list beg (julia-mode--latexsub-end-symbol) julia-mode-latexsubs
+ (list beg (julia--latexsub-end-symbol) julia-mode-latexsubs
:exclusive 'no
:annotation-function (lambda (s)
(concat " " (gethash s
julia-mode-latexsubs)))
@@ -848,7 +848,7 @@ Suitable for use in `completion-at-point-functions'."
(defun julia-mode-latexsub-completion-at-point-before ()
"Return completion for LaTeX-like symbol before point.
Suitable for use in `completion-at-point-functions'."
- (let ((beg (julia-mode--latexsub-start-symbol)))
+ (let ((beg (julia--latexsub-start-symbol)))
(when beg
(list beg (point) julia-mode-latexsubs :exclusive 'no
:annotation-function (lambda (s)
- [nongnu] elpa/julia-mode 77ff4f1146 15/22: comment code, fix docstring width, (continued)
- [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, 2023/05/04
- [nongnu] elpa/julia-mode 15326d6992 08/22: Remove extraneous -mode suffix from julia-- functions,
ELPA Syncer <=
- [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