aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/init
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2023-07-14 20:12:47 +1000
committerYuchen Pei <id@ypei.org>2023-07-14 20:12:47 +1000
commit53ae35e9ee2d971ce34494f14f7e7c869e46fe4f (patch)
tree46c42b37ad1f9aa51ea0977450c46cd4682fa471 /emacs/.emacs.d/init
parent9e4107cc2d3a9378d690a602c78d96e100ae3525 (diff)
some minor changes
Diffstat (limited to 'emacs/.emacs.d/init')
-rw-r--r--emacs/.emacs.d/init/ycp-prog.el2
-rw-r--r--emacs/.emacs.d/init/ycp-web.el6
2 files changed, 7 insertions, 1 deletions
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)