remove some long-unused vestigial bits and pieces
[~bandali/configs] / .emacs.d / init.el
index 29bfbcc..390be17 100644 (file)
@@ -615,36 +615,6 @@ Make N (default: 1) copies of the current line or region."
 
 (require 'bandali-ibuffer)
 
-;; outline
-;; (with-eval-after-load 'outline
-;;   (when (featurep 'which-key)
-;;     (which-key-add-key-based-replacements
-;;       "C-c @" "outline"
-;;       "s-O"   "outline"))
-;;   (define-key outline-minor-mode-map (kbd "<s-tab>")
-;;     #'outline-toggle-children)
-;;   (define-key outline-minor-mode-map (kbd "M-p")
-;;     #'outline-previous-visible-heading)
-;;   (define-key outline-minor-mode-map (kbd "M-n")
-;;     #'outline-next-visible-heading)
-;;   (defvar b/outline-prefix-map)
-;;   (define-prefix-command 'b/outline-prefix-map)
-;;   (define-key outline-minor-mode-map (kbd "s-O")
-;;     'b/outline-prefix-map)
-;;   (define-key b/outline-prefix-map (kbd "TAB")
-;;     #'outline-toggle-children)
-;;   (define-key b/outline-prefix-map (kbd "a")
-;;     #'outline-hide-body)
-;;   (define-key b/outline-prefix-map (kbd "H")
-;;     #'outline-hide-body)
-;;   (define-key b/outline-prefix-map (kbd "S")
-;;     #'outline-show-all)
-;;   (define-key b/outline-prefix-map (kbd "h")
-;;     #'outline-hide-subtree)
-;;   (define-key b/outline-prefix-map (kbd "s")
-;;     #'outline-show-subtree))
-;; (add-hook 'prog-mode-hook #'outline-minor-mode)
-
 (require 'bandali-dired)
 
 (with-eval-after-load 'help
@@ -740,19 +710,6 @@ Make N (default: 1) copies of the current line or region."
 (with-eval-after-load 'flyspell
   (csetq flyspell-mode-line-string " fly"))
 
-;; flycheck
-;; (run-with-idle-timer 0.6 nil #'require 'flycheck)
-;; (with-eval-after-load 'flycheck
-;;   (csetq
-;;    ;; Use the load-path from running Emacs when checking elisp files
-;;    flycheck-emacs-lisp-load-path 'inherit
-;;    ;; Only flycheck when I actually save the buffer
-;;    flycheck-check-syntax-automatically '(mode-enabled save)
-;;    flycheck-mode-line-prefix "flyc"))
-;; (define-key flycheck-mode-map (kbd "M-P") #'flycheck-previous-error)
-;; (define-key flycheck-mode-map (kbd "M-N") #'flycheck-next-error)
-;; (add-hook 'prog-mode-hook #'flycheck-mode)
-
 ;; ispell
 ;; http://endlessparentheses.com/ispell-and-apostrophes.html
 ;; (run-with-idle-timer 0.6 nil #'require 'ispell)
@@ -832,9 +789,6 @@ Make N (default: 1) copies of the current line or region."
 (with-eval-after-load 'css-mode
   (csetq css-indent-offset 2))
 
-;; po-mode
-;; (add-hook 'po-mode-hook (lambda nil (run-with-timer 0.1 nil 'View-exit)))
-
 ;; auctex
 ;; (csetq font-latex-fontify-sectioning 'color)