public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] emacs r1230 - emacs-daemon
@ 2009-02-23 13:35 Ulrich Mueller (ulm)
  0 siblings, 0 replies; only message in thread
From: Ulrich Mueller (ulm) @ 2009-02-23 13:35 UTC (permalink / raw
  To: gentoo-commits

Author: ulm
Date: 2009-02-23 13:35:31 +0000 (Mon, 23 Feb 2009)
New Revision: 1230

Modified:
   emacs-daemon/10emacs-daemon-gentoo.el
   emacs-daemon/ChangeLog
Log:
Rename "system-process-attributes" to "process-attributes".

Modified: emacs-daemon/10emacs-daemon-gentoo.el
===================================================================
--- emacs-daemon/10emacs-daemon-gentoo.el	2009-02-21 01:48:36 UTC (rev 1229)
+++ emacs-daemon/10emacs-daemon-gentoo.el	2009-02-23 13:35:31 UTC (rev 1230)
@@ -1,8 +1,14 @@
 
 ;;; emacs-daemon site-lisp configuration
-;; Copyright 2008 Gentoo Foundation
+;; Copyright 2008-2009 Gentoo Foundation
 ;; Distributed under the terms of the GNU General Public License v2 or later
 
+;; Backwards compatibility code, can be removed some time after the
+;; Emacs 23.0.91 snapshot
+(and (not (fboundp 'process-attributes))
+     (fboundp 'system-process-attributes)
+     (defalias 'process-attributes 'system-process-attributes))
+
 (and
  (fboundp 'daemonp)
  (daemonp)
@@ -18,7 +24,7 @@
    (cond
     ((and (integerp pid)
 	  (string-match
-	   "emacs" (or (cdr (assq 'comm (system-process-attributes pid))) ""))
+	   "emacs" (or (cdr (assq 'comm (process-attributes pid))) ""))
 	  (/= pid (emacs-pid)))
      ;; If another Emacs daemon is already running for this user,
      ;; then we would steal its server socket. So we better die.

Modified: emacs-daemon/ChangeLog
===================================================================
--- emacs-daemon/ChangeLog	2009-02-21 01:48:36 UTC (rev 1229)
+++ emacs-daemon/ChangeLog	2009-02-23 13:35:31 UTC (rev 1230)
@@ -1,3 +1,11 @@
+2009-02-23  Ulrich Mueller  <ulm@gentoo.org>
+
+	* Version 0.13 released.
+
+	* 10emacs-daemon-gentoo.el: Rename "system-process-attributes"
+	to "process-attributes" following Emacs upstream. Add code for
+	backwards compatibility.
+
 2009-02-01  Ulrich Mueller  <ulm@gentoo.org>
 
 	* Version 0.12 released.




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-02-23 13:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-23 13:35 [gentoo-commits] emacs r1230 - emacs-daemon Ulrich Mueller (ulm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox