Skip to content

Commit

Permalink
[#39] Allow patching cl-defun by default
Browse files Browse the repository at this point in the history
  • Loading branch information
raxod502 committed Nov 14, 2019
1 parent 1ea0645 commit 404bee8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog].

## Unreleased
### Added
* New patch type `el-patch-cl-defun` ([#39]).

### Enhancements
* When using `el-patch-ediff-patch` and `el-patch-ediff-conflict` the
compared buffers are put into `emacs-lisp-mode` automatically to
Expand All @@ -21,6 +24,7 @@ The format is based on [Keep a Changelog].
previously ([#30]).

[#30]: https://github.com/raxod502/el-patch/issues/30
[#39]: https://github.com/raxod502/el-patch/issues/39

## 2.2.3 (released 2019-04-10)
### Enhancements
Expand Down
9 changes: 9 additions & 0 deletions el-patch.el
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,15 @@ DEFINITION is a list starting with `defun' or similar."

;;;;; Predefined patch types

;; These are alphabetized.

;;;###autoload
(el-patch-deftype cl-defun
:classify el-patch-classify-function
:locate el-patch-locate-function
:declare ((doc-string 3)
(indent defun)))

;;;###autoload
(el-patch-deftype defconst
:classify el-patch-classify-variable
Expand Down

0 comments on commit 404bee8

Please sign in to comment.