I am trying to setup a package named cnfonts, in which below lines is required in .emacs initail file:
(defvar my-line-spacing-alist '((9 . 0.1) (10 . 0.9) (11.5 . 0.2) (12.5 . 0.2) (14 . 0.2) (16 . 0.2) (18 . 0.2) (20 . 1.0) (22 . 0.2) (24 . 0.2) (26 . 0.2) (28 . 0.2) (30 . 0.2) (32 . 0.2))) (defun my-line-spacing-setup (fontsizes-list) (let ((fontsize (car fontsizes-list)) (line-spacing-alist (copy-list my-line-spacing-alist))) (dolist (list line-spacing-alist) (when (= fontsize (car list)) (setq line-spacing-alist nil) (setq-default line-spacing (cdr list)))))) (add-hook 'cnfonts-set-font-finish-hook #'my-line-spacing-setup) but, I got below error:
symbols function definition is void: copy-list I believe that I should import the package in which copy-list belongs to. But I can not figure out exactly which package I should use and how to import it.
Any ideas?