diff options
author | Eli Zaretskii <eliz@gnu.org> | 2017-02-04 13:12:14 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2017-02-04 13:12:14 +0200 |
commit | a46a61904de6cc57e6a740a3006f48023859a1b3 (patch) | |
tree | 95fafbeabd8012e32887cb36ca9edc4421433739 | |
parent | cc84a405f3d3eb99ac8d53721715bbd812cf9772 (diff) | |
download | emacs-a46a61904de6cc57e6a740a3006f48023859a1b3.tar.gz |
Fix a syntax error when evaluating pcase.el under Edebug
* lisp/emacs-lisp/pcase.el (pcase-MACRO): Replace def-edebug-spec
with an explicit 'put' form. Suggested by Gemini Lasswell
<gazally@runbox.com>. (Bug#24717)
-rw-r--r-- | lisp/emacs-lisp/pcase.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/pcase.el b/lisp/emacs-lisp/pcase.el index 54678c5f324..46a5eedd150 100644 --- a/lisp/emacs-lisp/pcase.el +++ b/lisp/emacs-lisp/pcase.el @@ -89,7 +89,8 @@ (functionp &rest form) sexp)) -(def-edebug-spec pcase-MACRO pcase--edebug-match-macro) +;; See bug#24717 +(put 'pcase-MACRO 'edebug-form-spec 'pcase--edebug-match-macro) ;; Only called from edebug. (declare-function get-edebug-spec "edebug" (symbol)) |