summary refs log tree commit diff
diff options
context:
space:
mode:
authornoa2024-09-17 10:35:26 +0800
committernoa2024-09-17 10:35:26 +0800
commit880ebf86160ae71c75d903484876ca20f3359253 (patch)
treed75f0b2de2abf1fb7bc14d12587b9456c095fb7f
parent3048b47d0978ba5f1b8fd7ea76af7538b2a99b24 (diff)
Remove unnecessary help buffer configurations
-rw-r--r--emacs/init.el32
1 files changed, 2 insertions, 30 deletions
diff --git a/emacs/init.el b/emacs/init.el
index bf032ae..af98674 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -122,11 +122,7 @@
 ;; (use-package adaptive-wrap :ensure t)
 ;; (add-hook 'visual-fill-column-mode-hook #'visual-wrap-prefix-mode)
 
-
-;; No menu and tool bar
-
 ;; At the moment, explicitly disabling the menu bar and tool bar does nothing, because i already set there to be no lines displayed for the tool and menu bars in my early-init.el file.
-
 (setopt menu-bar-mode nil
 	tool-bar-mode nil)
 
@@ -228,36 +224,12 @@ The misspelled word is taken from OVERLAY.  WORD is the corrected word."
 
 ;; I mentioned that i thought this wasn't the best default behaviour [[https://github.com/minad/jinx/discussions/184][in the jinx repository]], but Daniel seems happy with it.  I appreciate that he's made it so easy to change the behaviour to something i prefer.
 
-;; Getting help
-
-;; Emacs is great because of its great built in help system!
-
-;; Close help buffers more easily
-
-;; By default, opening a help buffer keeps the original window active, but this means that i have to go into the help buffer to close it.  Some people might like to always have the help buffer hanging around, but i like my screen empty of distractions.  Luckily there's a simple setting to select the help window so that i can easily close it again with q.
-
+;; Make it easier to close help windows
 (setopt help-window-select t)
 
-;; Also to that end, we use the same window as the help buffer to open source files.
-
+;; When opening source files from a help window, use the same window
 (setopt help-window-keep-selected t)
 
-;;  Better aesthetics
-
-;; Help buffers put quotes around links in the buffer.  I don't think this adds anything to the output.
-
-(setopt help-clean-buttons t)
-
-;; The arguments are shown in upper case.  I don't want to be shouted at!  I already define them to be bold, this is all the attention they need.
-
-(setopt help-downcase-arguments t)
-
-;; Edit variables from help buffers
-
-;; Often, i will look at the documentation for a variable and immediately want to play with it.  This removes one step between wanting that and being able to do that.
-
-(setopt help-enable-variable-value-editing t)
-
 ;; Web browsing
 
 ;; I hear it's now possible to run a full fat browser inside emacs.  But this is surely quite heavyweight, and doesn't get to take advantage of things like ublock origin.  When it comes to alternative browsers, it's always the same story; i like the concept, but most websites are a horrific experience without a good ad blocker.