use-package
use-package copied to clipboard
Symbol's function definition is void: function-put
Trying to install on emacs 24.3
, but when I load emacs with use-package installed as a package, I get the startup error eval-buffer: Symbol's function definition is void: function-put
.
I assumed this was a version issue, but the package says it should support 24.3.
--debug-init doesn't print any additional information.
Manually adding in
(defalias 'function-put
;; We don't want people to just use `put' because we can't conveniently
;; hook into `put' to remap old properties to new ones. But for now, there's
;; no such remapping, so we just call `put'.
#'(lambda (function prop value)
"Set FUNCTION's property PROP to VALUE.
The namespace for PROP is shared with symbols.
So far, FUNCTION can only be a symbol, not a lambda expression."
(put function prop value)))
(function-put 'use-package 'lisp-indent-function '1)
patches the problem.