diff options
| author | Eli Zaretskii | 2017-02-04 13:12:14 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2017-02-04 13:12:14 +0200 |
| commit | a46a61904de6cc57e6a740a3006f48023859a1b3 (patch) | |
| tree | 95fafbeabd8012e32887cb36ca9edc4421433739 | |
| parent | cc84a405f3d3eb99ac8d53721715bbd812cf9772 (diff) | |
| download | emacs-a46a61904de6cc57e6a740a3006f48023859a1b3.tar.gz emacs-a46a61904de6cc57e6a740a3006f48023859a1b3.zip | |
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 @@ | |||
| 89 | (functionp &rest form) | 89 | (functionp &rest form) |
| 90 | sexp)) | 90 | sexp)) |
| 91 | 91 | ||
| 92 | (def-edebug-spec pcase-MACRO pcase--edebug-match-macro) | 92 | ;; See bug#24717 |
| 93 | (put 'pcase-MACRO 'edebug-form-spec 'pcase--edebug-match-macro) | ||
| 93 | 94 | ||
| 94 | ;; Only called from edebug. | 95 | ;; Only called from edebug. |
| 95 | (declare-function get-edebug-spec "edebug" (symbol)) | 96 | (declare-function get-edebug-spec "edebug" (symbol)) |