diff options
-rw-r--r-- | init.el | 2 | ||||
-rw-r--r-- | lisp/acdw.el | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/init.el b/init.el index 94b1ee1..c2d4b2b 100644 --- a/init.el +++ b/init.el | |||
@@ -428,7 +428,7 @@ | |||
428 | (hook-defun eshell-setup 'eshell-mode-hook | 428 | (hook-defun eshell-setup 'eshell-mode-hook |
429 | (define-key eshell-mode-map (kbd "C-d") | 429 | (define-key eshell-mode-map (kbd "C-d") |
430 | #'eshell-quit-or-delete-char) | 430 | #'eshell-quit-or-delete-char) |
431 | (when (fboundp simple-modeline--mode-line) | 431 | (when (boundp 'simple-modeline--mode-line) |
432 | (setq mode-line-format '(:eval simple-modeline--mode-line))))) | 432 | (setq mode-line-format '(:eval simple-modeline--mode-line))))) |
433 | 433 | ||
434 | (setup ediff | 434 | (setup ediff |
diff --git a/lisp/acdw.el b/lisp/acdw.el index 650cb3f..483bf60 100644 --- a/lisp/acdw.el +++ b/lisp/acdw.el | |||
@@ -141,7 +141,7 @@ Prompt only if there are unsaved changes." | |||
141 | (4 (other-window 1) | 141 | (4 (other-window 1) |
142 | (kill-current-buffer) | 142 | (kill-current-buffer) |
143 | (unless (one-window-p) (delete-window))) | 143 | (unless (one-window-p) (delete-window))) |
144 | (16 (mapc 'kill-buffer (delq (current-) (buffer-list))) | 144 | (16 (mapc 'kill-buffer (delq (current-buffer) (buffer-list))) |
145 | (delete-other-windows)))) | 145 | (delete-other-windows)))) |
146 | 146 | ||
147 | 147 | ||