From 44849094369b3c872e426df9accdb8d29ae5aade Mon Sep 17 00:00:00 2001 From: jao Date: Thu, 15 Apr 2021 16:19:21 +0100 Subject: nits --- init.org | 39 ++++----------------------------------- 1 file changed, 4 insertions(+), 35 deletions(-) (limited to 'init.org') diff --git a/init.org b/init.org index 8172ef9..a28bd4d 100644 --- a/init.org +++ b/init.org @@ -1597,12 +1597,6 @@ #+END_SRC ***** Attach image to message Use ~C-c C-p~ in message-mode. -***** Org-mime - #+BEGIN_SRC emacs-lisp :load no - (use-package org-mime :ensure t - :init (setq org-mime-beautify-quoted-mail t) - :bind (:map message-mode-map ("C-c M-o" . org-mime-htmlize))) - #+END_SRC ***** Check attachment #+BEGIN_SRC emacs-lisp (defvar jao-message-attachment-regexp "\\([Ww]e send\\|[Ii] send\\|attach\\)") @@ -2254,10 +2248,6 @@ (autoload 'ansi-color-for-comint-mode-on "ansi-color" nil t) (add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on) #+end_src - - #+begin_src emacs-lisp :load no - (use-package shx :ensure t) - #+end_src *** vterm #+begin_src emacs-lisp (use-package vterm @@ -2798,11 +2788,6 @@ (setq dante-methods '(new-build bare-cabal)) :hook ((haskell-mode . dante-mode))) #+end_src -*** JSON - #+BEGIN_SRC emacs-lisp - (use-package json-mode :ensure t) - ;; (use-package json-navigator :ensure nil) - #+END_SRC * Programming languages *** Elisp Reporting bugs @@ -3220,26 +3205,10 @@ :ensure t :hook (coq-mode . company-coq-mode)) #+END_SRC -*** Ruby - #+BEGIN_SRC emacs-lisp :tangle no :load no - (setq ruby-program-name "/home/jao/bin/irb --inf-ruby-mode") - (require 'ruby-mode) - (add-to-list 'auto-mode-alist '("\\.rb$" . ruby-mode)) - (add-to-list 'interpreter-mode-alist '("ruby" . ruby-mode)) - - (when (require 'ruby-electric nil t) - (add-hook 'ruby-mode-hook (lambda () (ruby-electric-mode)))) - - (when (jao-load-path "ri-emacs") - (setq ri-ruby-script - (expand-file-name "ri-emacs/ri-emacs.rb" jao-local-lisp-dir)) - (setq ri-ruby-program "ruby") - (autoload 'ri (expand-file-name "ri-emacs/ri-ruby.el" jao-local-lisp-dir)) - (add-hook 'ruby-mode-hook - (lambda () - (local-set-key [f1] 'ri) - (local-set-key [f2] 'ri-ruby-complete-symbol) - (local-set-key [f4] 'ri-ruby-show-args)))) +*** JSON + #+BEGIN_SRC emacs-lisp + (use-package json-mode :ensure t) + ;; (use-package json-navigator :ensure nil) #+END_SRC * Graphics *** Images -- cgit v1.2.3