summaryrefslogtreecommitdiff
path: root/editors/emacs-devel/files/patch-sources.el
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-06-17 03:51:58 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-06-17 03:51:58 +0000
commit1b83dffcf984a7fec53efd338502749bd45198c2 (patch)
tree24578ca79348b1f3234ee4cf2fa5d502d3b7a889 /editors/emacs-devel/files/patch-sources.el
parentPart 1: (diff)
Part 2:
- Add WITH_SOURCES option PR: ports/134875 Approved by: maintainer Submitted by: Ashish SHUKLA <wahjava@gmail.com>
Notes
Notes: svn path=/head/; revision=236098
Diffstat (limited to 'editors/emacs-devel/files/patch-sources.el')
-rw-r--r--editors/emacs-devel/files/patch-sources.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/editors/emacs-devel/files/patch-sources.el b/editors/emacs-devel/files/patch-sources.el
new file mode 100644
index 000000000000..6845a02d9f93
--- /dev/null
+++ b/editors/emacs-devel/files/patch-sources.el
@@ -0,0 +1,10 @@
+
+$FreeBSD$
+
+--- /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"))