branch: elpa/magit commit e4e7f7bc656f1c24bccd311b5f174528e724150f Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
make: Remove kludges for old Emacs releases --- lisp/Makefile | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/lisp/Makefile b/lisp/Makefile index bc2f531983a..e6b0526b85b 100644 --- a/lisp/Makefile +++ b/lisp/Makefile @@ -71,8 +71,8 @@ versionlib: $(PKG)-version.el @$(BATCH) --eval "(progn\ (when (file-exists-p \"$@\")\ (delete-file \"$@\"))\ - (setq with-editor-emacsclient-executable nil)\ - $$suppress_warnings)" \ + (setq with-editor-emacsclient-executable nil\ + ))" \ -f batch-byte-compile $< $(PKG)-autoloads.el: $(ELS) @@ -132,16 +132,3 @@ define VERSIONLIB_TMPL endef export VERSIONLIB_TMPL #' - -define suppress_warnings -(remhash (indirect-function 'derived-mode-p) advertised-signature-table) -(fset 'original-message (symbol-function 'message)) -(fset 'message - (lambda (f &rest a) - (unless (or (equal f "Wrote %s") - (equal f "pcase-memoize: equal first branch, yet different") - (and (equal f "Warning: Unknown defun property `%S' in %S") - (memq (car a) '(pure side-effect-free interactive-only)))) - (apply 'original-message f a)))) -endef -export suppress_warnings