aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas2022-09-24 13:22:59 +0200
committerStefan Kangas2022-09-24 14:07:57 +0200
commit32e736d903f65a74af2bbf0d3b7bd7ee60ee5837 (patch)
treeaebea4d1997619c9aa27e4f06e24281a5a9de8e8
parent4b537dd99f686e65e7ba0295eb157841e0d442e5 (diff)
downloademacs-32e736d903f65a74af2bbf0d3b7bd7ee60ee5837.tar.gz
emacs-32e736d903f65a74af2bbf0d3b7bd7ee60ee5837.zip
Make thumbs.el obsolete
* lisp/obsolete/thumbs.el: Add Obsolete-since. * etc/NEWS: Announce obsoletion of thumbs.el. (Bug#57779)
-rw-r--r--etc/NEWS4
-rw-r--r--lisp/obsolete/thumbs.el7
2 files changed, 11 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index ff97c2350f2..fd9fadc51f8 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -399,6 +399,10 @@ the 'nlinum' package from GNU ELPA instead. The former has better
399performance, but the latter is closer to a drop-in replacement. 399performance, but the latter is closer to a drop-in replacement.
400 400
401--- 401---
402** The thumbs.el library is now obsolete.
403We recommend using `M-x image-dired' instead.
404
405---
402** The autoarg.el library is now marked obsolete. 406** The autoarg.el library is now marked obsolete.
403This library provides the 'autoarg-mode' and 'autoarg-kp-mode' minor 407This library provides the 'autoarg-mode' and 'autoarg-kp-mode' minor
404modes to emulate the behavior of the historical editor Twenex Emacs. 408modes to emulate the behavior of the historical editor Twenex Emacs.
diff --git a/lisp/obsolete/thumbs.el b/lisp/obsolete/thumbs.el
index a9ff9f5ebc4..a98b339b470 100644
--- a/lisp/obsolete/thumbs.el
+++ b/lisp/obsolete/thumbs.el
@@ -5,6 +5,7 @@
5;; Author: Jean-Philippe Theberge <jphiltheberge@videotron.ca> 5;; Author: Jean-Philippe Theberge <jphiltheberge@videotron.ca>
6;; Maintainer: emacs-devel@gnu.org 6;; Maintainer: emacs-devel@gnu.org
7;; Keywords: Multimedia 7;; Keywords: Multimedia
8;; Obsolete-since: 29.1
8 9
9;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
10 11
@@ -23,6 +24,11 @@
23 24
24;;; Commentary: 25;;; Commentary:
25 26
27;; NOTE: This library was made obsolete in Emacs 29.1.
28;; We recommend using `M-x image-dired' instead.
29;;
30;; --------------------
31;;
26;; This package create two new modes: `thumbs-mode' and `thumbs-view-image-mode'. 32;; This package create two new modes: `thumbs-mode' and `thumbs-view-image-mode'.
27;; It is used for basic browsing and viewing of images from within Emacs. 33;; It is used for basic browsing and viewing of images from within Emacs.
28;; Minimal image manipulation functions are also available via external 34;; Minimal image manipulation functions are also available via external
@@ -387,6 +393,7 @@ and SAME-WINDOW to show thumbs in the same window."
387 393
388;;;###autoload 394;;;###autoload
389(defalias 'thumbs 'thumbs-show-from-dir) 395(defalias 'thumbs 'thumbs-show-from-dir)
396(make-obsolete 'thumbs 'image-dired "29.1")
390 397
391(defun thumbs-find-image (img &optional num otherwin) 398(defun thumbs-find-image (img &optional num otherwin)
392 (let ((buffer (current-buffer))) 399 (let ((buffer (current-buffer)))