From 53ae35e9ee2d971ce34494f14f7e7c869e46fe4f Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Fri, 14 Jul 2023 20:12:47 +1000 Subject: some minor changes --- emacs/.emacs.d/init/ycp-prog.el | 2 ++ emacs/.emacs.d/init/ycp-web.el | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'emacs/.emacs.d/init') diff --git a/emacs/.emacs.d/init/ycp-prog.el b/emacs/.emacs.d/init/ycp-prog.el index 3f4369d..811a414 100644 --- a/emacs/.emacs.d/init/ycp-prog.el +++ b/emacs/.emacs.d/init/ycp-prog.el @@ -477,6 +477,8 @@ (define-key gud-mode-map (kbd "C-c C-z") 'my-gdb-mysql-parse-frame) (add-to-list 'grep-files-aliases '("mtr" . "*.inc *.test *.cnf *.result *.rdiff")) + (add-to-list 'grep-files-aliases + '("mtrt" . "*.inc *.test")) ) ;;; bison diff --git a/emacs/.emacs.d/init/ycp-web.el b/emacs/.emacs.d/init/ycp-web.el index b322aa0..2e56b19 100644 --- a/emacs/.emacs.d/init/ycp-web.el +++ b/emacs/.emacs.d/init/ycp-web.el @@ -86,7 +86,11 @@ (my-override org-jira--render-issue) (my-override org-jira-update-worklogs-from-org-clocks) (my-keybind org-jira-entry-mode-map "C-c ig" 'org-jira-get-issue) -) + ;; `org-jira-mode' displays many whitespace-only lines in comments + ;; it pulls. + (add-hook 'org-jira-mode-hook + (lambda () (setq show-trailing-whitespace nil))) + ) (my-package eww (:delay 60) -- cgit v1.2.3