d31aa3654e
Thu Feb 20 2003 Jens Petersen <petersen@redhat.com> - 21.2-33 - default browse-url to use htmlview (#84262) - remove info dir file rather than excluding it Sat Feb 08 2003 Jens Petersen <petersen@redhat.com> - 21.2-32 - set X copy'n'paste encoding to extended compound-text (#74100) by default in .emacs file [suggested by olonho@hotmail.com] - .emacs file cleanup (xemacs now has a separate init file) Fri Feb 07 2003 Jens Petersen <petersen@redhat.com> - 21.2-31 - block input in allocate_vectorlike to prevent malloc hangs (#83600) [thanks to Jim Blandy] - set startup wmclass notify in desktop file Wed Jan 22 2003 Tim Powers <timp@redhat.com> - rebuilt Wed Jan 15 2003 Jens Petersen <petersen@redhat.com> 21.2-29 - update to newer po-mode.el and po-compat.el from gettext-0.11.4 - patch po-mode's po-replace-revision-date for when po-auto-replace-revision-date is nil (#71264) - update po-mode-init.el - examine LC_ALL before LC_CTYPE in site-start.el for utf-8 (#79535) - don't install etc/DOC files explicitly by hand - make sure all lisp .elc files are up to date - pass _smp_mflags to make - remove games that we shouldn't ship Mon Jan 13 2003 Karsten Hopp <karsten@redhat.de> 21.2-28 - s390x lib64 fix Fri Jan 03 2003 Jens Petersen <petersen@redhat.com> 21.2-27 - look at LANG after LC_CTYPE when checking for UTF-8 locale encoding in site-start.el (#79535) - don't set desktop file config(noreplace) Fri Dec 20 2002 Jens Petersen <petersen@redhat.com> 21.2-26 - unset the sticky bit of emacs in bindir (#80049) Wed Dec 18 2002 Jens Petersen <petersen@redhat.com> 21.2-25 - no need to patch config.{sub,guess} Tue Dec 03 2002 Tim Waugh <twaugh@redhat.com> - Fix python-mode-init.el (bug #78910). Sun Dec 01 2002 Jens Petersen <petersen@redhat.com> 21.2-24 - rpm-spec-mode update fixes - patch in XEmacs compat functions rather than defining them with apel macros in init file (#78764) - autoload "rpm-spec-mode" not "rpm-spec-mode.el" in same file - let emacs base also own leim dir to avoid startup warning about missing dir when -el and -leim aren't installed (#78764) Thu Nov 28 2002 Jens Petersen <petersen@redhat.com> - use LC_CTYPE rather than LANG to determine default encoding (#78678) [reported by starback@stp.ling.uu.se] Wed Nov 27 2002 Jens Petersen <petersen@redhat.com> 21.2-23 - set transient-mark-mode in dotemacs for Emacs not XEmacs (#75440) - update rpm-spec-mode.el to 0.12 - define needed XEmacs compat functions in new rpm-spec-mode-init.el - tidy site-start.el - move python-mode setup to python-mode - don't build with sbin in path - use _libexecdir, _bindir and _sysconfdir - don't gzip info files explicitly - use tar's C and j options - generate lisp file-lists in single find sweeps over lisp and leim dirs - use -fprint and -fprintf - correct more dir ownerships Sun Nov 24 2002 Florian La Roche <Florian.LaRoche@redhat.de> 21.2-22 - add correct alloca defines for s390 Wed Nov 06 2002 Jens Petersen <petersen@redhat.com> 21.2-21 - uses patches for x86_64 and s390 support and config.{guess,sub} updating Tue Nov 05 2002 Jens Petersen <petersen@redhat.com> 21.2-20 - add support for x86_64 and merge in s390 support from cvs - add alloca defines to amdx86-64.h (from SuSE) Wed Oct 30 2002 Jens Petersen <petersen@redhat.com> 21.2-19 - own our libexec dir (#73984) - only set transient-mark-mode in dotemacs for Emacs (#75440) - update to latest config.{guess,sub} - use _datadir macro
44 lines
1.4 KiB
Diff
44 lines
1.4 KiB
Diff
diff -u rpm-spec-mode.el~ rpm-spec-mode.el
|
|
--- rpm-spec-mode.el~ 2002-12-02 12:00:38.000000000 +0900
|
|
+++ rpm-spec-mode.el 2002-12-02 12:00:38.000000000 +0900
|
|
@@ -105,6 +105,10 @@
|
|
:type 'string
|
|
:group 'rpm-spec)
|
|
|
|
+;; XEmacs compatibility function
|
|
+(unless (fboundp 'define-obsolete-variable-alias)
|
|
+ (defalias 'define-obsolete-variable-alias 'make-obsolete-variable))
|
|
+
|
|
(define-obsolete-variable-alias
|
|
'rpm-completion-ignore-case 'rpm-spec-completion-ignore-case)
|
|
|
|
@@ -597,6 +601,14 @@
|
|
|
|
;;------------------------------------------------------------
|
|
|
|
+;; XEmacs compatibility function
|
|
+(unless (fboundp 'user-mail-address)
|
|
+ (defun user-mail-address ()
|
|
+ "Return value of `user-mail-address'.
|
|
+
|
|
+XEmacs sendmail compatibility function."
|
|
+ user-mail-address))
|
|
+
|
|
(defun rpm-add-change-log-entry (&optional change-log-entry)
|
|
"Find change log and add an entry for today."
|
|
(interactive "sChange log entry: ")
|
|
@@ -1117,6 +1129,13 @@
|
|
|
|
;;------------------------------------------------------------
|
|
|
|
+;; XEmacs compatibility function
|
|
+(unless (fboundp 'ignore-errors)
|
|
+ (defmacro ignore-errors (&rest body)
|
|
+ "Execute FORMS; if an error occurs, return nil.
|
|
+Otherwise, return result of last FORM."
|
|
+ `(condition-case nil (progn ,@body) (error nil))))
|
|
+
|
|
(defun rpm-spec-field-value (field max)
|
|
"Get the value of FIELD, searching up to buffer position MAX.
|
|
See `search-forward-regexp'."
|