diff options
Diffstat (limited to 'lib/tools/emacs/erlang.el')
-rw-r--r-- | lib/tools/emacs/erlang.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/tools/emacs/erlang.el b/lib/tools/emacs/erlang.el index b096bab2f0..de5dd4955f 100644 --- a/lib/tools/emacs/erlang.el +++ b/lib/tools/emacs/erlang.el @@ -81,7 +81,9 @@ (require 'tempo) ;;; `caddr' is builtin since Emacs 26. -(or (fboundp 'caddr) (defun caddr (x) (car (cdr (cdr x))))) +(eval-and-compile + (or (fboundp 'caddr) + (defun caddr (x) (car (cdr (cdr x)))))) ;; Variables: |