+29
-70
lines changedFilter options
+29
-70
lines changed Original file line number Diff line number Diff line change
@@ -52,7 +52,9 @@ exports.handler = async (argv) => {
52
52
console.warn('✗ Error while cloning template project');
53
53
console.warn('');
54
54
console.warn(' [1] Make sure you have git installed and has the right permission');
55
-
process.stderr.write(` [2] Failed because of the target directory isn't empty`);
55
+
console.warn(` [2] Failed because of the target directory isn't empty`);
56
+
console.warn('');
57
+
process.stderr.write(`Visit https://emacs-eask.github.io/ for quickstart guide and full documentation.`);
56
58
});
57
59
}
58
60
Original file line number Diff line number Diff line change
@@ -240,6 +240,13 @@ the `eask-start' execution.")
240
240
(delete-region (point-min) (point))
241
241
(eval-buffer)))
242
242
243
+
;;
244
+
;;; Compat
245
+
246
+
(defun eask-always (&rest _arguments)
247
+
"The function `always' is supported after Emacs 28.1."
248
+
t)
249
+
243
250
;;
244
251
;;; Util
245
252
@@ -2230,7 +2237,6 @@ variable we use to test validation."
2230
2237
;;
2231
2238
;;; Externals
2232
2239
2233
-
(eask-load "extern/compat")
2234
2240
(eask-load "extern/ansi")
2235
2241
(eask-load "extern/package")
2236
2242
(eask-load "extern/package-build")
Original file line number Diff line number Diff line change
@@ -19,6 +19,9 @@
19
19
(locate-dominating-file dir "_prepare.el"))
20
20
nil t))
21
21
22
+
;;
23
+
;;; Core
24
+
22
25
(defconst eask-create-elpa--template-name "template-elpa"
23
26
"Holds template project name.")
24
27
@@ -30,7 +33,7 @@
30
33
(goto-char (point-min))
31
34
(search-forward "(script ")
32
35
(forward-line 1)
33
-
(dolist (gitkeeps (eask-directory-files-recursively eask-file-root ".gitkeep"))
36
+
(dolist (gitkeeps (directory-files-recursively eask-file-root ".gitkeep"))
34
37
(ignore-errors (delete-file gitkeeps)))
35
38
;; --- Start insertion
36
39
(insert "(script \"build\" \"eask exec github-elpa build\")\n")
Original file line number Diff line number Diff line change
@@ -17,17 +17,17 @@
17
17
;;; Test functions
18
18
19
19
(defconst compat-functions
20
-
'(ansi-color-filter-apply
21
-
thing-at-point--read-from-whole-string
22
-
ls-lisp-format-file-size
23
-
lsh
24
-
package--alist
25
-
package--activate-all
26
-
package-activate-all
27
-
package-generate-description-file
28
-
locate-dominating-file
29
-
url-file-exists-p
30
-
prin1-to-string)
20
+
'( ansi-color-filter-apply
21
+
thing-at-point--read-from-whole-string
22
+
ls-lisp-format-file-size
23
+
lsh
24
+
package--alist
25
+
package--activate-all
26
+
package-activate-all
27
+
package-generate-description-file
28
+
locate-dominating-file
29
+
url-file-exists-p
30
+
prin1-to-string)
31
31
"List of function to check Emacs compatibility.")
32
32
33
33
(message "Starting compatibility test for functions...")
@@ -45,10 +45,10 @@
45
45
;;; Test variables
46
46
47
47
(defconst compat-variables
48
-
'(finder-known-keywords
49
-
package-quickstart-file
50
-
print-level
51
-
print-length)
48
+
'( finder-known-keywords
49
+
package-quickstart-file
50
+
print-level
51
+
print-length)
52
52
"List of variables to check Emacs compatibility.")
53
53
54
54
(message "Starting compatibility test for variables...")
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4