We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The snippet of wiki page https://github.com/domtronn/all-the-icons.el/wiki/Mode-Line#modified-or-read-only gives an error because there is a closing parenthesis missing, directly after the opening parenthesis of the function arguments, at the start of the second line:
(defun custom-modeline-modified ((let* ((config-alist '(("*" all-the-icons-faicon-family all-the-icons-faicon "chain-broken" :height 1.2 :v-adjust -0.0) ("-" all-the-icons-faicon-family all-the-icons-faicon "link" :height 1.2 :v-adjust -0.0) ("%" all-the-icons-octicon-family all-the-icons-octicon "lock" :height 1.2 :v-adjust 0.1))) (result (cdr (assoc (format-mode-line "%*") config-alist)))) (propertize (apply (cadr result) (cddr result)) 'face `(:family ,(funcall (car result))))))
I think this should be:
(defun custom-modeline-modified ()(let* ((config-alist '(("*" all-the-icons-faicon-family all-the-icons-faicon "chain-broken" :height 1.2 :v-adjust -0.0) ("-" all-the-icons-faicon-family all-the-icons-faicon "link" :height 1.2 :v-adjust -0.0) ("%" all-the-icons-octicon-family all-the-icons-octicon "lock" :height 1.2 :v-adjust 0.1))) (result (cdr (assoc (format-mode-line "%*") config-alist)))) (propertize (apply (cadr result) (cddr result)) 'face `(:family ,(funcall (car result))))))
Thank you for sharing this nice & useful package.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The snippet of wiki page https://github.com/domtronn/all-the-icons.el/wiki/Mode-Line#modified-or-read-only gives an error because there is a closing parenthesis missing, directly after the opening parenthesis of the function arguments, at the start of the second line:
I think this should be:
Thank you for sharing this nice & useful package.
The text was updated successfully, but these errors were encountered: