Skip to content

Commit 13d5b66

Browse files
authored
fix: update gyp.el to change case to cl-case (nodejs#93)
‘case’ is an obsolete alias (as of 27.1); use ‘cl-case’ instead.
1 parent ff0a28a commit 13d5b66

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/emacs/gyp-tests.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"For the purposes of face comparison, we're not interested in the
3131
differences between certain faces. For example, the difference between
3232
font-lock-comment-delimiter and font-lock-comment-face."
33-
(case face
33+
(cl-case face
3434
((font-lock-comment-delimiter-face) font-lock-comment-face)
3535
(t face)))
3636

tools/emacs/gyp.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@
213213
string-start)
214214
(setq string-start (gyp-parse-to limit))
215215
(if string-start
216-
(setq group (case (gyp-section-at-point)
216+
(setq group (cl-case (gyp-section-at-point)
217217
('dependencies 1)
218218
('variables 2)
219219
('conditions 2)

0 commit comments

Comments
 (0)