Skip to content

Commit f9db5c6

Browse files
authored
Merge pull request #28 from Hi-Angel/fix-warnings
Use lexical binding in `utils.el`
2 parents 1ea3bb5 + 21c210d commit f9db5c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
;;; -*- lexical-binding: t; -*-
22
(defun py2el (beg end)
33
"Helper function for converting Meson data structures from
44
Python sources to something more similar to elisp."
@@ -35,6 +35,6 @@ Run this in a buffer with meson/docs/markdown/Reference-manual.md"
3535
(skip-syntax-forward " ")
3636
(buffer-substring-no-properties (point) (line-end-position))))))
3737
;;(edebug)
38-
(add-to-list 'functions (list funcname :doc synopsis)
38+
(push (list funcname :doc synopsis) functions
3939
)))
4040
(kill-new (prin1-to-string (reverse functions)))))))

0 commit comments

Comments
 (0)