Skip to content

Commit

Permalink
gyp: update gyp.el to change case to cl-case
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 committed Jan 19, 2021
1 parent 787f0e1 commit f2b40ef
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 f2b40ef

Please sign in to comment.