public inbox for guile-emacs@sourceware.org
 help / color / mirror / Atom feed
* patch: M-x emacs-version
@ 2000-03-20 20:54 Kalle Olavi Niemitalo
  2000-03-21 12:18 ` Keisuke Nishida
  0 siblings, 1 reply; 4+ messages in thread
From: Kalle Olavi Niemitalo @ 2000-03-20 20:54 UTC (permalink / raw)
  To: guile-emacs

I have patched `features' and `emacs-version' as suggested in
TODO; however, I called the feature `guile-emacs' because `guile'
is already used by guile.scm.  (Perhaps modules shouldn't provide
features because Guile already keeps track of them.)

I didn't format this as a patch to a emacs-20.6.patch because the
header lines ("retrieving revision"...) wouldn't have matched
anyway.  Could we keep both original and modified Emacs files in
the package and generate the patch automatically somehow?

This change is not in CVS.

2000-03-20  Kalle Olavi Niemitalo  <tosi@stekt.oulu.fi>

	* src/guileapi.c (init_guileapi): Provide guile-emacs.
	* lisp/version.el: If guile-emacs is provided, say so.

=================================================================
diff -ur emacs-20.5+guile/src/guileapi.c emacs-20.5+guile+kon/src/guileapi.c
--- emacs-20.5+guile/src/guileapi.c	Mon Mar 20 19:01:19 2000
+++ emacs-20.5+guile+kon/src/guileapi.c	Mon Mar 20 13:07:53 2000
@@ -349,4 +349,5 @@
 					 NULL, lispref_free,
 					 lispref_print, lispref_equal);
 #include "guileapi.x"
+  Fprovide (intern ("guile-emacs"));
 }
diff -ur emacs-20.5+guile/lisp/version.el emacs-20.5+guile+kon/lisp/version.el
--- emacs-20.5+guile/lisp/version.el	Fri Dec  3 09:35:23 1999
+++ emacs-20.5+guile+kon/lisp/version.el	Mon Mar 20 15:29:09 2000
@@ -52,13 +52,14 @@
   (interactive "P")
   (let ((version-string 
          (format (if (not (interactive-p))
-		     "GNU Emacs %s (%s%s)\n of %s on %s"
-		   "GNU Emacs %s (%s%s) of %s on %s")
+		     "GNU Emacs %s (%s%s%s)\n of %s on %s"
+		   "GNU Emacs %s (%s%s%s) of %s on %s")
                  emacs-version
 		 system-configuration
 		 (cond ((featurep 'motif) ", Motif")
 		       ((featurep 'x-toolkit) ", X toolkit")
 		       (t ""))
+		 (if (featurep 'guile-emacs) ", Guile" "")
 		 (format-time-string "%a %b %e %Y" emacs-build-time)
                  emacs-build-system)))
     (if here 
=================================================================

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-03-22 23:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-20 20:54 patch: M-x emacs-version Kalle Olavi Niemitalo
2000-03-21 12:18 ` Keisuke Nishida
2000-03-21 22:39   ` Kalle Olavi Niemitalo
2000-03-22 23:08     ` Keisuke Nishida

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).