about summary refs log tree commit diff stats
path: root/init.el
diff options
context:
space:
mode:
authorCase Duckworth2021-04-02 12:56:52 -0500
committerCase Duckworth2021-04-02 12:57:07 -0500
commit4c20a1d8e86c229db1b0a07bbbd231278328b3cd (patch)
tree018dcca568f2a662a90dbda60389e9dd89f38054 /init.el
parentSetup `ediff' (diff)
downloademacs-4c20a1d8e86c229db1b0a07bbbd231278328b3cd.tar.gz
emacs-4c20a1d8e86c229db1b0a07bbbd231278328b3cd.zip
Set `find-function-C-source-directory' everywhere
On Windows, `acdw.cmd' downloads the source in the right spot.  On Linux, I need
to make sure it's in the right spot myself.
Diffstat (limited to 'init.el')
-rw-r--r--init.el15
1 files changed, 9 insertions, 6 deletions
diff --git a/init.el b/init.el index 26dd784..80034af 100644 --- a/init.el +++ b/init.el
@@ -369,11 +369,7 @@
369 w32-pass-rwindow-to-system nil 369 w32-pass-rwindow-to-system nil
370 w32-rwindow-modifier 'super 370 w32-rwindow-modifier 'super
371 w32-pass-apps-to-system nil 371 w32-pass-apps-to-system nil
372 w32-apps-modifier 'hyper 372 w32-apps-modifier 'hyper))
373 find-function-C-source-directory (expand-file-name
374 (concat "~/src/emacs-"
375 emacs-version
376 "/src"))))
377 373
378;;;; Etc. good defaults 374;;;; Etc. good defaults
379(setc custom-file (acdw/in-dir "custom.el") 375(setc custom-file (acdw/in-dir "custom.el")
@@ -395,7 +391,14 @@
395 echo-keystrokes 0.25 391 echo-keystrokes 0.25
396 recenter-positions '(top middle bottom) 392 recenter-positions '(top middle bottom)
397 attempt-stack-overflow-recovery nil 393 attempt-stack-overflow-recovery nil
398 attempt-orderly-shutdown-on-fatal-signal nil) 394 attempt-orderly-shutdown-on-fatal-signal nil
395 find-function-C-source-directory
396 (pcase acdw/system
397 (:work (expand-file-name (concat "~/src/emacs-"
398 emacs-version
399 "/src")))
400 (:home (expand-file-name "~/src/pkg/emacs/src/emacs-git/src"))
401 (:other nil)))
399 402
400;;;; Etc. bindings 403;;;; Etc. bindings
401(global-set-key [remap just-one-space] #'cycle-spacing) 404(global-set-key [remap just-one-space] #'cycle-spacing)