From beb176bfe835e7addfd1302a8c342af40114e36f Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Sat, 28 Oct 2023 21:46:28 +1100 Subject: [emacs] Some tweaks - small fixes - which func headline should apply to js mode too - magit-diff mode no truncate lines - w3m keybindings --- emacs/.emacs.d/lisp/my/my-editing.el | 3 +++ 1 file changed, 3 insertions(+) (limited to 'emacs/.emacs.d/lisp') 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 -- cgit v1.2.3