aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2006-11-27 14:35:47 +0000
committerJuanma Barranquero2006-11-27 14:35:47 +0000
commit8d4bf0e5374213dbb5bd8b808241afff8893f80d (patch)
tree230bf2d4872672bd2b0cb27f1be817f446576e75
parenta322861f63b4f69134c5bcb1d2639e87055a5f15 (diff)
downloademacs-8d4bf0e5374213dbb5bd8b808241afff8893f80d.tar.gz
emacs-8d4bf0e5374213dbb5bd8b808241afff8893f80d.zip
Fix comment and obsolescence string for old functions.
Use `dolist' instead of `while'.
-rw-r--r--lisp/ChangeLog38
-rw-r--r--lisp/time-stamp.el25
2 files changed, 44 insertions, 19 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 07d8f74887f..caf22164133 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,36 @@
12006-11-27 Juanma Barranquero <lekktu@gmail.com>
2
3 * time-stamp.el: Fix comment and obsolescence string for old
4 functions. Use `dolist' instead of `while'.
5
6 * disp-table.el (standard-display-8bit, standard-display-default):
7 * ebuff-menu.el (electric-buffer-list):
8 * ehelp.el (electric-help-command-loop):
9 * font-core.el (font-lock-mode):
10 * help-macro.el (make-help-screen):
11 * help.el (describe-minor-mode-completion-table-for-indicator)
12 (lookup-minor-mode-from-indicator):
13 * indent.el (tab-to-tab-stop, move-to-tab-stop):
14 * info-look.el (info-lookup-guess-custom-symbol):
15 * locate.el (locate-main-listing-line-p, locate-mode, locate-do-setup):
16 * longlines.el (longlines-wrap-line):
17 * macros.el (insert-kbd-macro):
18 * menu-bar.el (menu-bar-update-buffers):
19 * misc.el (copy-from-above-command):
20 * mouse.el (mouse-popup-menubar, mouse-buffer-menu-alist):
21 * newcomment.el (comment-indent):
22 * novice.el (disabled-command-function):
23 * sort.el (sort-fields-syntax-table):
24 * subr.el (momentary-string-display):
25 * tar-mode.el (tar-header-block-summarize)
26 (tar-clear-modification-flags):
27 * terminal.el (terminal-cease-edit, te-more-break-unwind, te-newline)
28 (te-clear-rest-of-line, te-clear-rest-of-screen, te-clear-screen)
29 (te-insert-lines, te-delete-lines, te-delete, te-insert-spaces)
30 (te-delete-char, te-down-vertically-or-scroll):
31 * time-stamp.el (time-stamp-string-preprocess):
32 * tmm.el (tmm-add-one-shortcut): "?\ " -> "?\s".
33
12006-11-26 Nick Roberts <nickrob@snap.net.nz> 342006-11-26 Nick Roberts <nickrob@snap.net.nz>
2 35
3 * speedbar.el (speedbar-timer-fn): Revert to old behaviour when not 36 * speedbar.el (speedbar-timer-fn): Revert to old behaviour when not
@@ -2755,7 +2788,7 @@
2755 2788
2756 * dired.el (dired-log-summary): Add doc string. 2789 * dired.el (dired-log-summary): Add doc string.
2757 2790
2758 * cus-edit.el (custom-menu-create): Bind deactivate-mark here 2791 * cus-edit.el (custom-menu-create): Bind deactivate-mark here.
2759 (custom-group-menu-create): Not here. 2792 (custom-group-menu-create): Not here.
2760 2793
27612006-09-08 Carsten Dominik <dominik@science.uva.nl> 27942006-09-08 Carsten Dominik <dominik@science.uva.nl>
@@ -7048,8 +7081,7 @@
7048 (defcustom, defface, defgroup): Replace reference to Customization 7081 (defcustom, defface, defgroup): Replace reference to Customization
7049 chapter in manual with hyperlink. 7082 chapter in manual with hyperlink.
7050 7083
7051 * cus-edit.el (customize-package-emacs-version-alist): 7084 * cus-edit.el (customize-package-emacs-version-alist): New variable.
7052 New variable.
7053 (customize-changed-options): Add check for custom-package-version. 7085 (customize-changed-options): Add check for custom-package-version.
7054 (customize-package-emacs-version): New function to look up Emacs 7086 (customize-package-emacs-version): New function to look up Emacs
7055 version corresponding to the given package version. 7087 version corresponding to the given package version.
diff --git a/lisp/time-stamp.el b/lisp/time-stamp.el
index daa713e069b..f29806e3013 100644
--- a/lisp/time-stamp.el
+++ b/lisp/time-stamp.el
@@ -710,23 +710,16 @@ around literals."
710;;; Some functions used in time-stamp-format 710;;; Some functions used in time-stamp-format
711 711
712;;; These functions have been obsolete since 1995 712;;; These functions have been obsolete since 1995
713;;; and will be removed in Emacs 22. 713;;; and will be removed in a future Emacs release.
714;;; Meanwhile, discourage other packages from using them. 714;;; Meanwhile, discourage other packages from using them.
715(let ((obsolete-functions '(time-stamp-month-dd-yyyy 715(dolist (function '(time-stamp-month-dd-yyyy time-stamp-dd/mm/yyyy
716 time-stamp-dd/mm/yyyy 716 time-stamp-mon-dd-yyyy time-stamp-dd-mon-yy
717 time-stamp-mon-dd-yyyy 717 time-stamp-yy/mm/dd time-stamp-yyyy/mm/dd
718 time-stamp-dd-mon-yy 718 time-stamp-yyyy-mm-dd time-stamp-yymmdd
719 time-stamp-yy/mm/dd 719 time-stamp-hh:mm:ss time-stamp-hhmm))
720 time-stamp-yyyy/mm/dd 720 (make-obsolete function
721 time-stamp-yyyy-mm-dd 721 "use `time-stamp-string' or `format-time-string' instead."
722 time-stamp-yymmdd 722 "20.1"))
723 time-stamp-hh:mm:ss
724 time-stamp-hhmm)))
725 (while obsolete-functions
726 (make-obsolete (car obsolete-functions)
727 "use time-stamp-string or format-time-string instead."
728 "20.1")
729 (setq obsolete-functions (cdr obsolete-functions))))
730 723
731;;; pretty form, suitable for a title page 724;;; pretty form, suitable for a title page
732 725