The following backtrace problem in being produced but cannot identify the problem correctly.
Debugger entered--Lisp error: (void-function :documentation)
(:documentation (concat "Version and permissions of Din tools." din-about-detail))
typex-about()
eval-buffer(#<buffer *load*-971358> nil "/home/bard/din-1.0/din.e..." nil t) ; Reading at buffer position 4568
load-with-code-conversion("/home/bard/din-1.0/din.e..." "/home/bard/din-1.0/din.e..." nil nil)
load("din")
eval-buffer(#<buffer *load*> nil "/home/bard/.emacs" nil t) ; Reading at buffer position 1963
load-with-code-conversion("/home/bard/.emacs" "/home/bard/.emacs" t t)
load("~/.emacs" noerror nomessage)
startup--load-user-init-file(#f(compiled-function () #<bytecode 0x157951e1402d>) #f(compiled-function () #<bytecode 0x157951e14041>) t)
command-line()
normal-top-level()
This is what I am doing
(defun din-message (bufname message)
"Inserts formatted string into the `Din' dedicated buffer.
BUFNAME Name of buffer.
MESSAGE Text."
(with-current-buffer
(get-buffer-create bufname)
(insert message)) )
(defvar din-bufname "*Din*"
"TODO")
(defvar din-version-license "Din Tools for Emacs.")
(defvar din-about-detail
"Displays version number and license conditions.")
(defun din-about ()
(:documentation
(concat
"Version and permissions of Din tools."
din-about-detail))
(din-message din-bufname din-version-license) )
(din-about)
:documentation
, now look at your code. Hint: if you would like to dynamically create a list then use(list ...)
or use backquote syntaxdin-about
? It should get printed? Or you would like it to become a docstring? Or something else?