tecosaur / emacs-config

My configuration for Doom Emacs. Mirror of https://git.tecosaur.net/tec/emacs-config.
MIT License
1.04k stars 118 forks source link

Teach-a-man-to-fish example will not run. #28

Closed JohnNehls closed 2 years ago

JohnNehls commented 2 years ago

In your excellent config.org, the example command

(defadvice! prompt-for-buffer (&rest _)
      :after 'window-split (switch-to-buffer))

yields "progn: Symbol’s function definition is void: defadvice!" in vanilla emacs.

tecosaur commented 2 years ago

Yes, that example uses Doom. I don't think that affects the overall point though.