diff options
author | Aaron LI <aaronly.me@gmail.com> | 2016-02-24 23:24:01 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@gmail.com> | 2016-02-24 23:24:01 +0800 |
commit | 8e661bf9bc0c2b51a5aaa6f5356fb2fb584d13d6 (patch) | |
tree | 9b25d1fe26d787b70d9d70510fc4f4098d8a5924 | |
parent | 112c35a1235aaa384c0154b4bf9378f9dab25964 (diff) | |
download | dotfiles-8e661bf9bc0c2b51a5aaa6f5356fb2fb584d13d6.tar.bz2 |
_emacs.d/personal/10-config.el: drop `initial-buffer-choice'
If the `initial-buffer-choice' set to a function, it will block the
Emacs daemon from returning ...
Currently have no idea to fix this ...
maybe use `after-make-frame-functions' ??
-rw-r--r-- | _emacs.d/personal/10-config.el | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/_emacs.d/personal/10-config.el b/_emacs.d/personal/10-config.el index 0201b93..dc0420f 100644 --- a/_emacs.d/personal/10-config.el +++ b/_emacs.d/personal/10-config.el @@ -22,14 +22,6 @@ (setq inhibit-startup-screen t) (setq initial-major-mode 'emacs-lisp-mode) -;; Change the initial buffer to `*Remember*' instead of `*scratch*' -(setq initial-buffer-choice 'remember-notes) -(setq remember-notes-initial-major-mode 'org-mode) -;; Disable the `C-c C-c' keybinding of `remember-notes-mode-map' to avoid -;; the conflict with `org-mode' -(with-eval-after-load 'remember - (define-key remember-notes-mode-map (kbd "C-c C-c") nil)) - ;; Prevent kill and yank commands from accessing the clipboard (setq x-select-enable-clipboard nil) |