diff options
Diffstat (limited to 'content/posts/WIP-emacs-helm-atoms/index.org')
-rw-r--r-- | content/posts/WIP-emacs-helm-atoms/index.org | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/content/posts/WIP-emacs-helm-atoms/index.org b/content/posts/WIP-emacs-helm-atoms/index.org index d62e4fd..4df9145 100644 --- a/content/posts/WIP-emacs-helm-atoms/index.org +++ b/content/posts/WIP-emacs-helm-atoms/index.org @@ -7,7 +7,7 @@ #+SLUG: #+SUMMARY: -I don't remember where I read it, but while I was first learning about +I don't remember where I read it, but when I was first learning about how elisp works, someone had mentioned the fact that it could perform reverse variable searches. I remember thinking that idea was incredibly interesting. @@ -36,11 +36,11 @@ provided accurate results, I decided to make my own. I called it [[https://github.com/dantecatalfamo/helm-atoms][helm-atoms]]. It's both completely interactive, using the [[https://emacs-helm.github.io/helm/][helm]] completion and narrowing framework, and incredibly fast. -The way it works is quite simple. +Here's how it works. -There's a function in Emacs called =mapatoms=, which takes a function as -one of its parameters. Without a second parameter, it traverses Emacs' -standard =obarray=, which is a table which holds most of the interned -symbols in Emacs. If you're curious about how symbols and interning -work in Emacs, you can check out the info page on [[https://www.gnu.org/software/emacs/manual/html_node/elisp/Creating-Symbols.html][Creating and -Interning Symbols]]. +There's a function in Emacs called =mapatoms=, which takes a function +and an optional =obaray= as parameters. Without a second parameter, it +traverses Emacs' standard =obarray=, which is a vector which holds +most of the interned symbols in Emacs. If you're curious about how +symbols and interning work in Emacs, you can check out the info page +on [[https://www.gnu.org/software/emacs/manual/html_node/elisp/Creating-Symbols.html][Creating and Interning Symbols]]. |