diff options
author | Case Duckworth | 2022-01-03 10:36:32 -0600 |
---|---|---|
committer | Case Duckworth | 2022-01-03 10:36:32 -0600 |
commit | 679fe570a7527eadc1fcddbff619bfb2763f4d98 (patch) | |
tree | 21751d516bdcc50f851ad5913495bee1bbc54126 /lisp | |
parent | Add function: +ensure-after-init (diff) | |
download | emacs-679fe570a7527eadc1fcddbff619bfb2763f4d98.tar.gz emacs-679fe570a7527eadc1fcddbff619bfb2763f4d98.zip |
Fix things for Windows Emacs
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/+emacs.el | 4 | ||||
-rw-r--r-- | lisp/+org-capture.el | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/+emacs.el b/lisp/+emacs.el index d76eee8..2e3d257 100644 --- a/lisp/+emacs.el +++ b/lisp/+emacs.el | |||
@@ -273,7 +273,9 @@ kill without asking." | |||
273 | (when (require 'repeat nil :noerror) | 273 | (when (require 'repeat nil :noerror) |
274 | (setq-default repeat-exit-key "g" | 274 | (setq-default repeat-exit-key "g" |
275 | repeat-exit-timeout 5) | 275 | repeat-exit-timeout 5) |
276 | (repeat-mode +1)) | 276 | (when (fboundp 'repeat-mode) |
277 | ;; `repeat-mode' is defined in repeat.el, which is an older library. | ||
278 | (repeat-mode +1))) | ||
277 | 279 | ||
278 | (when (require 'savehist nil :noerror) | 280 | (when (require 'savehist nil :noerror) |
279 | (setq-default history-length t | 281 | (setq-default history-length t |
diff --git a/lisp/+org-capture.el b/lisp/+org-capture.el index 1631bdd..6968657 100644 --- a/lisp/+org-capture.el +++ b/lisp/+org-capture.el | |||
@@ -4,7 +4,9 @@ | |||
4 | 4 | ||
5 | (require 'cl-lib) | 5 | (require 'cl-lib) |
6 | ;; We don't require `org-capture' here because I'll have to require this library | 6 | ;; We don't require `org-capture' here because I'll have to require this library |
7 | ;; to init.el /before/ org-capture is fully needed. | 7 | ;; to init.el /before/ org-capture is fully needed. But I do need to declare |
8 | ;; `org-capture-templates'. | ||
9 | (defvar org-capture-templates nil) | ||
8 | 10 | ||
9 | (defun +org-capture--get (key &optional list) | 11 | (defun +org-capture--get (key &optional list) |
10 | "Find KEY in LIST, or return nil. | 12 | "Find KEY in LIST, or return nil. |