emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master e709412: Remove function obsolete since 22.1


From: Stefan Kangas
Subject: master e709412: Remove function obsolete since 22.1
Date: Wed, 15 Sep 2021 17:25:32 -0400 (EDT)

branch: master
commit e709412c2d6f5793ad800372fbd573f7e9ada8ec
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    Remove function obsolete since 22.1
    
    * lisp/erc/erc-networks.el (erc-current-network): Remove function
    obsolete since Emacs 22.1.
---
 etc/NEWS                 | 6 +++---
 lisp/erc/erc-networks.el | 9 ---------
 2 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/etc/NEWS b/etc/NEWS
index b3be59e..f22801c 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -3404,9 +3404,9 @@ ledit.el, lmenu.el, lucid.el and old-whitespace.el.
 
 ---
 ** Some functions and variables obsolete since Emacs 22 have been removed:
-'gnus-article-hide-pgp-hook', 'gnus-inews-mark-gcc-as-read',
-'gnus-treat-display-xface', 'gnus-treat-strip-pgp',
-'nnmail-spool-file'.
+'erc-current-network', 'gnus-article-hide-pgp-hook',
+'gnus-inews-mark-gcc-as-read', 'gnus-treat-display-xface',
+'gnus-treat-strip-pgp', 'nnmail-spool-file'.
 
 ---
 ** The obsolete function 'thread-alive-p' has been removed.
diff --git a/lisp/erc/erc-networks.el b/lisp/erc/erc-networks.el
index 54502b2..ca0e90e 100644
--- a/lisp/erc/erc-networks.el
+++ b/lisp/erc/erc-networks.el
@@ -755,15 +755,6 @@ server name and search for a match in 
`erc-networks-alist'."
   "Return the value of `erc-network' for the current server."
   (erc-with-server-buffer erc-network))
 
-(defun erc-current-network ()
-  "Deprecated.  Use `erc-network' instead.
-Return the name of this server's network as a symbol."
-  (erc-with-server-buffer
-    (intern (downcase (symbol-name erc-network)))))
-
-(make-obsolete 'erc-current-network 'erc-network
-               "Obsolete since erc-networks 1.5")
-
 (defun erc-network-name ()
   "Return the name of the current network as a string."
   (erc-with-server-buffer (symbol-name erc-network)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]