rainstormstudio / nerd-icons.el

GNU General Public License v3.0
206 stars 22 forks source link

Unable to find icon with name ‘globe’ in icon set ‘faicon’ #9

Closed stardiviner closed 1 year ago

stardiviner commented 1 year ago

When I execute elisp code:

(nerd-icons-icon-for-url "http://www.cyberciti.biz/faq/bash-for-loop/")

I got following error:

Debugger entered--Lisp error: (error "Unable to find icon with name ‘globe’ in icon set ‘faicon’")
  signal(error ("Unable to find icon with name ‘globe’ in icon set ..."))
  error("Unable to find icon with name `%s' in icon set `%s..." "globe" faicon)
  nerd-icons-faicon("globe")
  apply(nerd-icons-faicon "globe")
  #f(compiled-function (url &rest arg-overrides) "Get the formatted icon for URL.\nIf an icon for URL isn't found in `nerd-icons-url-alist', a globe is used.\nARG-OVERRIDES should be a plist containining `:height',\n`:v-adjust' or `:face' properties like in the normal icon\ninserting functions." #<bytecode -0x196d01fc7f714d17>)("http://www.cyberciti.biz/faq/bash-for-loop/")
  apply(#f(compiled-function (url &rest arg-overrides) "Get the formatted icon for URL.\nIf an icon for URL isn't found in `nerd-icons-url-alist', a globe is used.\nARG-OVERRIDES should be a plist containining `:height',\n`:v-adjust' or `:face' properties like in the normal icon\ninserting functions." #<bytecode -0x196d01fc7f714d17>) "http://www.cyberciti.biz/faq/bash-for-loop/")
  nerd-icons-icon-for-url("http://www.cyberciti.biz/faq/bash-for-loop/")
  eval((nerd-icons-icon-for-url "http://www.cyberciti.biz/faq/bash-for-loop/") t)
  eval-expression((nerd-icons-icon-for-url "http://www.cyberciti.biz/faq/bash-for-loop/") nil nil 127)
  funcall-interactively(eval-expression (nerd-icons-icon-for-url "http://www.cyberciti.biz/faq/bash-for-loop/") nil nil 127)
  call-interactively(eval-expression nil nil)
  command-execute(eval-expression)
rainstormstudio commented 1 year ago

It's fixed now: 0e2fe5bafd324540cda6745f8c91e0728beff32c

stardiviner commented 1 year ago

@rainstormstudio Thanks for quick fix.