From 6e6ba4ad2f37ff70989a7ed8d30b2f75fe67f619 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 14 Mar 2017 22:42:11 +0100 Subject: Emacs: Fix free variable warning: company-dabbrev-downcase The default is `case-replace`, so use that instead --- tag-emacs/emacs.d/init.org | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index 114b2b6..9c65d9f 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -951,8 +951,7 @@ seems to work perfectly well for me. company-begin-commands '(self-insert-command) company-auto-complete #'company-explicit-action-p company-auto-complete-chars '(?\ ?\( ?\) ?.) - company-tooltip-align-annotations t - company-dabbrev-downcase nil))) + company-tooltip-align-annotations t))) #+END_SRC #+BEGIN_SRC emacs-lisp @@ -2446,6 +2445,15 @@ it much clearer. It’s especially helpful for protoyping and refactoring. :diminish undo-tree-mode) #+END_SRC +** replace + +#+BEGIN_SRC emacs-lisp +(use-package replace + :defer t + :config (progn + (setq case-replace nil))) +#+END_SRC + ** visual-regexp I don’t always remember exactly how Emacs’ regular expressions work, -- cgit 1.4.1