Fork me on GitHub
#emacs
<
2022-03-25
>
ahungry04:03:35

caar and cdar, good old common lisp trickled into emacs-lisp 😄 I love this one:

defun cddadr (x)
  "Return the `cdr' of the `cdr' of the `car' of the `cdr' of X."

🆒 2
ahungry04:03:01

I think in CL they go even further htan cddadr / cddddr

dpsutton04:03:42

I think the does require them out to like nine or so

😄 1
Maris14:03:13

Eldoc was not working for me in Emacs. Now I have to do this:

Maris14:03:21

(defun eldoc-hack ()
  (setq eldoc-documentation-strategy 'eldoc-documentation-default)
  (eldoc-mode 1))

(use-package clojure-mode 
  :hook (
	 (cider-mode . eldoc-hack))

ag20:03:56

using lsp?

ag20:03:25

check the value of cider-eldoc-display-for-symbol-at-point

ag20:03:04

and if you're using lsp then also lsp-eldoc-enable-hover

Maris14:03:23

Does anyone know why? I am using cider 1.3.0.