Le serveur gitlab sera inaccessible le mercredi 19 février 2020 de 13h à 14h pour une intervention de maintenance programmée.

Commit 334750ad authored by Noam Postavsky's avatar Noam Postavsky

defun missing functions at runtime too

eval-when-compile -> eval-and-compile
parent 4c58f559
...@@ -304,7 +304,7 @@ object or a file path." ...@@ -304,7 +304,7 @@ object or a file path."
(insert-file-contents file-or-buffer) (insert-file-contents file-or-buffer)
(el-get-check-recipe-in-current-buffer file-or-buffer)))) (el-get-check-recipe-in-current-buffer file-or-buffer))))
(eval-when-compile (eval-and-compile
(unless (fboundp 'file-name-base) ; new in 24.3 (unless (fboundp 'file-name-base) ; new in 24.3
(defun file-name-base (&optional filename) (defun file-name-base (&optional filename)
"Return the base name of the FILENAME: no directory, no extension. "Return the base name of the FILENAME: no directory, no extension.
......
...@@ -722,7 +722,7 @@ itself.") ...@@ -722,7 +722,7 @@ itself.")
(let ((el-get-elpa-do-refresh 'once)) (let ((el-get-elpa-do-refresh 'once))
(mapc 'el-get-update (el-get-list-package-names-with-status "installed"))))) (mapc 'el-get-update (el-get-list-package-names-with-status "installed")))))
(eval-when-compile (eval-and-compile
(unless (fboundp 'user-error) ; new in 24.3 (unless (fboundp 'user-error) ; new in 24.3
(defun user-error (format &rest args) (defun user-error (format &rest args)
"Signal a pilot error, making error message by passing all args to `format'. "Signal a pilot error, making error message by passing all args to `format'.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment