From 14effb82a618d8091938e7e78a33a395489d2ace Mon Sep 17 00:00:00 2001
From: Derek Chen-Becker <oss@chen-becker.org>
Date: Tue, 29 Jul 2025 06:19:32 -0600
Subject: [PATCH 2/3] lisp/org.el: Remove deprecated show command

* org.el (org-priority): Remove the deprecated show command now that we're
several versions beyond when the deprecation was introduced.
* etc/ORG-NEWS: Add an announcement for the removal of the `show' parameter.
---
 etc/ORG-NEWS | 6 ++++++
 lisp/org.el  | 6 +-----
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS
index 3cfc2b011..9df33b17e 100644
--- a/etc/ORG-NEWS
+++ b/etc/ORG-NEWS
@@ -161,6 +161,12 @@ Previously, the whole contents of drawer, including blank lines at the beginning
 parsed as paragraph.  Now, the blank lines at the beginning are stored in ~:pre-blank~
 property, just as in other greater elements.
 
+*** The deprecated =show= parameter to =org-priority= has been removed
+
+The =show= parameter for the =org-priority= function was deprecated in
+Org 9.2 (released in 2017). Sufficient time has passed and it is being
+removed as part of refactoring for numeric priorities.
+
 ** New features
 
 # We list the most important features, and the features that may
diff --git a/lisp/org.el b/lisp/org.el
index ed012d2e6..15fb9f3ec 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -11334,7 +11334,7 @@ This regular expression matches these groups:
   (interactive)
   (org-priority 'down))
 
-(defun org-priority (&optional action show)
+(defun org-priority (&optional action)
   "Change the priority of an item.
 
 When called interactively with a `\\[universal-argument]' prefix,
@@ -11343,10 +11343,6 @@ show the priority in the minibuffer instead of changing it.
 When called programmatically, ACTION can be `set', `up', `down',
 or a character."
   (interactive "P")
-  (when show
-    ;; Deprecation warning inserted for Org 9.2; once enough time has
-    ;; passed the SHOW argument should be removed.
-    (warn "`org-priority' called with deprecated SHOW argument"))
   (if (equal action '(4))
       (org-priority-show)
     (unless org-priority-enable-commands
-- 
2.43.0

