diff options
author | Amin Bandali <bandali@gnu.org> | 2018-12-22 14:09:56 -0500 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2018-12-22 14:09:56 -0500 |
commit | 0571b240759700a2036605691e1ac31dc59820aa (patch) | |
tree | 2298dae19a784cd4e7cb3cec26a2da53501cf7ad | |
parent | 5e07a0910b5ee74100ef0a42ab5210d47292d52f (diff) | |
download | configs-0571b240759700a2036605691e1ac31dc59820aa.tar.gz configs-0571b240759700a2036605691e1ac31dc59820aa.tar.xz configs-0571b240759700a2036605691e1ac31dc59820aa.zip |
[emacs] remove unnecessary overrides & silence some compile warnings
-rw-r--r-- | init.org | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -667,9 +667,7 @@ Based on https://stackoverflow.com/a/17788551, with changes to use (around inhibit-display (command &optional mode name-function highlight-regexp)) (if (not (string-match "^\\(find\\|grep\\)" command)) - (cl-letf (((symbol-function 'display-buffer) #'ignore) - ((symbol-function 'set-window-point) #'ignore) - ((symbol-function 'goto-char) #'ignore)) + (cl-letf (((symbol-function 'display-buffer) #'ignore)) (save-window-excursion ad-do-it)) ad-do-it)) (ad-activate 'compilation-start)) @@ -825,7 +823,8 @@ file. (let* ((file-tangle-start-time (current-time)) (file (buffer-file-name)) (file-nodir (file-name-nondirectory file)) - (async-quiet-switch "-q")) + ;; (async-quiet-switch "-q") + ) (async-start `(lambda () (require 'org) @@ -955,7 +954,7 @@ There's no way I could top that, so I won't attempt to. (defun amin|eshell-setup () (make-local-variable 'company-idle-delay) - (setq company-idle-delay nil) + (defvar company-idle-delay nil) (bind-keys :map eshell-mode-map ("C-d" . amin/eshell-quit-or-delete-char) ("C-S-l" . amin/eshell-clear) |