commit:     a2897617562d0ad1586aa706c8439bb58ce530fe
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  8 06:25:39 2014 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Apr  8 06:25:39 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/emacs-tools.git;a=commit;h=a2897617

Don't look for emacs-${target}.1 as emacs.1 man page target.

* emacs.eselect (set_man_symlinks): Omit emacs-${target}.1 from
the list; the symlink for the emacs.1 man page is handled by
set_symlinks() already.

---
 ChangeLog     | 6 ++++++
 emacs.eselect | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index bdf3f9a..a5ffff7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2014-04-08  Ulrich Müller  <[email protected]>
+
+       * emacs.eselect (set_man_symlinks): Omit emacs-${target}.1 from
+       the list; the symlink for the emacs.1 man page is handled by
+       set_symlinks() already.
+
 2014-03-18  Ulrich Müller  <[email protected]>
 
        * emacs.eselect (MANPAGELIST_OLD): Remove variable, the gfdl.1

diff --git a/emacs.eselect b/emacs.eselect
index de37cd5..aad1587 100644
--- a/emacs.eselect
+++ b/emacs.eselect
@@ -75,7 +75,7 @@ set_bin_symlinks() {
 set_man_symlinks() {
        # Set symlinks to man pages
        local target=$1 suffix f i
-       for f in emacs ${MANPAGELIST}; do
+       for f in ${MANPAGELIST}; do
                for i in "${EROOT}/usr/share/man/man1/${f}-${target}.1"*; do
                        if [[ -f ${i} ]]; then
                                # target file exists; determine compression 
suffix

Reply via email to