Skip to content

Commit 8e9cd68

Browse files
authored
Merge pull request #47 from mbarbin/add-cwd-emacs-header
Add cwd emacs header
2 parents 2c2b7cc + 5f096ca commit 8e9cd68

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

CHANGES.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
## 0.0.2025XXXX (unreleased)
1+
## 0.0.20250704 (2025-07-04)
22

33
### Added
44

5+
- Display the repo-root in the emacs-mode header (#47, @mbarbin).
56
- Add 's' for summary tables in emacs crs-grep-mode (#45, @mbarbin).
67

78
### Changed

editor-integration/emacs/crs-grep.el

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,10 @@ Always a string, e.g. \"now\", \"all\", etc.")
166166
(crs-grep-mode)
167167
(when crs-grep-enable-header-line
168168
(setq header-line-format
169-
(format "CRs: type \"%s\" path \"%s\""
169+
(format "CRs: type \"%s\" path \"%s\" repo \"%s\""
170170
crs-grep-current-filter
171-
crs-grep-path-in-repo)))
171+
crs-grep-path-in-repo
172+
crs-grep-repo-root)))
172173
(when crs-grep-enable-next-error-follow
173174
(next-error-follow-minor-mode 1))
174175
(goto-char (point-min)))

0 commit comments

Comments
 (0)