Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Feb 2015 10:15:01 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r378520 - in head/textproc/dictionary: . files
Message-ID:  <201502061015.t16AF1s4024337@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Fri Feb  6 10:15:00 2015
New Revision: 378520
URL: https://svnweb.freebsd.org/changeset/ports/378520
QAT: https://qat.redports.org/buildarchive/r378520/

Log:
  textproc/dictionary: stop calling make-local-hook unconditionally
  
  This hook was removed from emacs 24.1 so it's obsolete now.
  
  PR:		196527
  Submitted by:	Yoshiaki Kasahara
  Approved by:	n/a (unmaintained)

Added:
  head/textproc/dictionary/files/
  head/textproc/dictionary/files/patch-dictionary.el   (contents, props changed)
Modified:
  head/textproc/dictionary/Makefile

Modified: head/textproc/dictionary/Makefile
==============================================================================
--- head/textproc/dictionary/Makefile	Fri Feb  6 10:07:19 2015	(r378519)
+++ head/textproc/dictionary/Makefile	Fri Feb  6 10:15:00 2015	(r378520)
@@ -3,7 +3,7 @@
 
 PORTNAME=	dictionary
 PORTVERSION=	1.8.7
-PORTREVISION=	15
+PORTREVISION=	16
 CATEGORIES=	textproc net elisp
 MASTER_SITES=	http://me.in-berlin.de/~myrkr/dictionary/ \
 		http://bsdchat.com/dist/dryice/

Added: head/textproc/dictionary/files/patch-dictionary.el
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/dictionary/files/patch-dictionary.el	Fri Feb  6 10:15:00 2015	(r378520)
@@ -0,0 +1,12 @@
+--- dictionary.el.orig	2004-10-02 06:31:20 UTC
++++ dictionary.el
+@@ -330,7 +330,8 @@ by the choice value:
+   (make-local-variable 'dictionary-default-dictionary)
+   (make-local-variable 'dictionary-default-strategy)
+   
+-  (make-local-hook 'kill-buffer-hook)
++  (if (fboundp 'make-local-hook)
++      (make-local-hook 'kill-buffer-hook))
+   (add-hook 'kill-buffer-hook 'dictionary-close t t)
+   (run-hooks 'dictionary-mode-hook))
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502061015.t16AF1s4024337>