summaryrefslogtreecommitdiff
path: root/editors/emacs-devel/files/patch-sources.el
blob: dc72a427a3a8ce0c06fd8459c4bc3da69dfaf6ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
$FreeBSD: head/editors/emacs-devel/files/patch-sources.el 300896 2012-07-14 13:54:48Z beat $

--- /dev/null
+++ 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"))