In Emacs, I have installed the MELPA company-irony-c-header
package. I then did some research on the web, and apparently in order to configure the package, what I took to mean "activating" it, I had to add this:
(defun company-my-backend (command &optional arg &rest ignored)
(interactive (list 'interactive))
(case command
(interactive (company-begin-backend 'company-my-backend))
(prefix (when (looking-back "foo\\>") (match-string 0)))
(candidates (when (equal arg "foo") (list "foobar" "foobaz" "foobarbaz")))
(meta (format "This value is named %s" arg))))
into something called a "back-end" (with foo
standing for whatever my filename was). What is a back-end, and how can I to use it?