summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-03-29 15:34:13 +0000
committerUlrich Müller <ulm@gentoo.org>2008-03-29 15:34:13 +0000
commit9351d4efbeeef20b81ab65ef497fd29eef2d9427 (patch)
tree3f0a4923ed4838ab4375d4b6aeee9b304adeeffb /eclass
parentCheck if the SITELISP directory exists. (diff)
downloademacs-9351d4efbeeef20b81ab65ef497fd29eef2d9427.tar.gz
emacs-9351d4efbeeef20b81ab65ef497fd29eef2d9427.tar.bz2
emacs-9351d4efbeeef20b81ab65ef497fd29eef2d9427.zip
Fix en-dashes.
See for example: "The Chicago Manual of Style", 14th ed., section 5.115. svn path=/emacs-overlay/; revision=1039
Diffstat (limited to 'eclass')
-rw-r--r--eclass/elisp-common.eclass5
1 files changed, 2 insertions, 3 deletions
diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass
index eccadb4..60815b9 100644
--- a/eclass/elisp-common.eclass
+++ b/eclass/elisp-common.eclass
@@ -141,7 +141,7 @@ SITEETC=/usr/share/emacs/etc
SITEFILE=50${PN}-gentoo.el
EMACS=/usr/bin/emacs
-# The following works for Emacs versions 18--23, don't change it.
+# The following works for Emacs versions 18-23, don't change it.
EMACSFLAGS="-batch -q --no-site-file"
# @FUNCTION: elisp-compile
@@ -200,7 +200,7 @@ elisp-comp() {
# Output version of currently active Emacs.
elisp-emacs-version() {
- # The following will work for at least versions 18--23.
+ # The following will work for at least versions 18-23.
echo "(princ emacs-version)" >"${T}"/emacs-version.el
${EMACS} ${EMACSFLAGS} -l "${T}"/emacs-version.el
rm -f "${T}"/emacs-version.el
@@ -290,7 +290,6 @@ elisp-site-regen() {
local -a sflist
# Work around Paludis borkage: variable T is empty in pkg_postrm
local tmpdir=${T:-/tmp}
-
if [ ! -d "${ROOT}${SITELISP}" ]; then
eerror "Directory ${SITELISP} does not exist"
return 1