emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/lentic bbbfa78a0d 302/333: Add missing files, including


From: ELPA Syncer
Subject: [elpa] externals/lentic bbbfa78a0d 302/333: Add missing files, including tests.
Date: Tue, 27 Feb 2024 13:00:46 -0500 (EST)

branch: externals/lentic
commit bbbfa78a0deda2a7cc3a4e67c79d43e002ddc014
Author: Phillip Lord <phillip.lord@russet.org.uk>
Commit: Phillip Lord <phillip.lord@russet.org.uk>

    Add missing files, including tests.
---
 dev-resources/fullsh.org   | 10 ++++++++++
 lentic-script.el           |  3 +++
 test/lentic-script-test.el |  4 ++--
 3 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/dev-resources/fullsh.org b/dev-resources/fullsh.org
new file mode 100644
index 0000000000..6bab26f3d5
--- /dev/null
+++ b/dev-resources/fullsh.org
@@ -0,0 +1,10 @@
+# #!/bin/bash
+
+#+begin_src sh
+echo "hello world"
+#+end_src
+
+
+Local Variables:
+lentic-init: lentic-bash-script-init
+End:
diff --git a/lentic-script.el b/lentic-script.el
index 239ab52427..2caa55fb36 100644
--- a/lentic-script.el
+++ b/lentic-script.el
@@ -52,6 +52,7 @@
 (defun lentic-script-lentic-file ()
   (lentic-script--lentic-file-1 (buffer-file-name)))
 
+;;;###autoload
 (defun lentic-python-script-init ()
   (lentic-org-python-oset
    (lentic-cookie-unmatched-commented-chunk-configuration
@@ -62,6 +63,7 @@
 (lentic-script-hook 'python-mode-hook
                     'lentic-python-script-init)
 
+;;;###autoload
 (defun lentic-bash-script-init ()
   (lentic-m-oset
    (lentic-cookie-unmatched-commented-chunk-configuration
@@ -76,6 +78,7 @@
 (lentic-script-hook 'shell-mode-hook
                     'lentic-bash-script-init)
 
+;;;###autoload
 (defun lentic-lua-script-init ()
   (lentic-m-oset
    (lentic-cookie-unmatched-commented-chunk-configuration
diff --git a/test/lentic-script-test.el b/test/lentic-script-test.el
index 711cf3f312..bef933cebb 100644
--- a/test/lentic-script-test.el
+++ b/test/lentic-script-test.el
@@ -62,8 +62,8 @@
    (assess=
     (lentic-script-test-file "fulllua.org")
     (lentic-test-clone
-     "fulllua.sh"
-     #'lentic-bash-script-init))))
+     "fulllua.lua"
+     #'lentic-lua-script-init))))
 
 (provide 'lentic-script-test)
 ;;; lentic-script-test.el ends here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]