Skip to content

Commit

Permalink
fix: update gyp.el to change case to cl-case (#93)
Browse files Browse the repository at this point in the history
‘case’ is an obsolete alias (as of 27.1); use ‘cl-case’ instead.
  • Loading branch information
liuchong authored Feb 20, 2021
1 parent ff0a28a commit 13d5b66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/emacs/gyp-tests.el
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"For the purposes of face comparison, we're not interested in the
differences between certain faces. For example, the difference between
font-lock-comment-delimiter and font-lock-comment-face."
(case face
(cl-case face
((font-lock-comment-delimiter-face) font-lock-comment-face)
(t face)))

Expand Down
2 changes: 1 addition & 1 deletion tools/emacs/gyp.el
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@
string-start)
(setq string-start (gyp-parse-to limit))
(if string-start
(setq group (case (gyp-section-at-point)
(setq group (cl-case (gyp-section-at-point)
('dependencies 1)
('variables 2)
('conditions 2)
Expand Down

0 comments on commit 13d5b66

Please sign in to comment.