Skip to content

Commit

Permalink
Merge pull request #87 from wandersoncferreira/fix-outline-mode
Browse files Browse the repository at this point in the history
bugfix - enable outline minor mode by default
  • Loading branch information
charignon authored Oct 11, 2021
2 parents 9797cd6 + 0696768 commit 4c93a27
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Change log

# Unreleased

- [#87](https://github.com/charignon/github-review/pull/87): Enable `outline-mode` by default to allow hide/show hunks. See `outline-*` commands.
1 change: 1 addition & 0 deletions github-review.el
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,7 @@ Github API provides only the originalPosition in the query.")
"Major mode for code review"
(setq mode-name "Code Review"
major-mode 'github-review-mode)
(add-hook 'github-review-mode-hook #'outline-minor-mode)
(run-mode-hooks 'github-review-mode-hook))

(provide 'github-review)
Expand Down

0 comments on commit 4c93a27

Please sign in to comment.