aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/lisp/my
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2023-10-28 21:46:28 +1100
committerYuchen Pei <id@ypei.org>2023-10-28 21:46:28 +1100
commitbeb176bfe835e7addfd1302a8c342af40114e36f (patch)
tree551acaa795f1b77c278e46056fc7ee8b7fb6fb7b /emacs/.emacs.d/lisp/my
parentc846b2cea042ac3666d340305f46325cde68d674 (diff)
[emacs] Some tweaks
- small fixes - which func headline should apply to js mode too - magit-diff mode no truncate lines - w3m keybindings
Diffstat (limited to 'emacs/.emacs.d/lisp/my')
-rw-r--r--emacs/.emacs.d/lisp/my/my-editing.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/.emacs.d/lisp/my/my-editing.el b/emacs/.emacs.d/lisp/my/my-editing.el
index 19043ff..2c1abfb 100644
--- a/emacs/.emacs.d/lisp/my/my-editing.el
+++ b/emacs/.emacs.d/lisp/my/my-editing.el
@@ -519,5 +519,8 @@ With an prefix-arg, copy the file name relative to project root."
(let ((search-invisible t))
(apply old-fun r)))
+(defun my-turn-off-truncate-lines ()
+ (setq truncate-lines nil))
+
(provide 'my-editing)
;;; my-editing.el ends here