summaryrefslogtreecommitdiff
path: root/editors/emacs-devel/files/patch-sources.el
blob: ee44f5c0881fbfdf5a391f62b56490427f5a31ea (plain) (blame)
1
2
3
4
5
6
7
--- sources.el.orig	2016-02-01 06:06:37 UTC
+++ sources.el
@@ -0,0 +1,4 @@
+;;; Path to Emacs C Sources.
+(when (string-match (regexp-quote "%%EMACS_VER%%") emacs-version)
+  (setq find-function-C-source-directory
+        "%%DATADIR%%/%%EMACS_VER%%/src"))