projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
5e07a09
)
[emacs] remove unnecessary overrides & silence some compile warnings
author
Amin Bandali
<bandali@gnu.org>
Sat, 22 Dec 2018 19:09:56 +0000
(14:09 -0500)
committer
Amin Bandali
<bandali@gnu.org>
Sat, 22 Dec 2018 19:09:56 +0000
(14:09 -0500)
init.org
patch
|
blob
|
blame
|
history
diff --git
a/init.org
b/init.org
index
5006e56
..
7f66c99
100644
(file)
--- a/
init.org
+++ b/
init.org
@@
-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))
(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))
(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))
(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)
(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)
(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)
(bind-keys :map eshell-mode-map
("C-d" . amin/eshell-quit-or-delete-char)
("C-S-l" . amin/eshell-clear)