diff options
Diffstat (limited to 'lisp/Makefile')
| -rw-r--r-- | lisp/Makefile | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/lisp/Makefile b/lisp/Makefile index bc2f531..e6b0526 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 |
