summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2017-03-14 22:42:11 +0100
committerAlan Pearce2017-03-14 22:42:11 +0100
commit6e6ba4ad2f37ff70989a7ed8d30b2f75fe67f619 (patch)
treec6401fab7f8e43746734b4ac22896903f739739a /tag-emacs
parent9a0f3dae0a5113b04d6c40088e7e582f4ac0d7a1 (diff)
downloadnixfiles-6e6ba4ad2f37ff70989a7ed8d30b2f75fe67f619.tar.lz
nixfiles-6e6ba4ad2f37ff70989a7ed8d30b2f75fe67f619.tar.zst
nixfiles-6e6ba4ad2f37ff70989a7ed8d30b2f75fe67f619.zip
Emacs: Fix free variable warning: company-dabbrev-downcase
The default is `case-replace`, so use that instead
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.org12
1 files changed, 10 insertions, 2 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 114b2b66..9c65d9f0 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,