emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/hyperbole 9b042a8 1/2: Remove use of with-suppressed-wa


From: ELPA Syncer
Subject: [elpa] externals/hyperbole 9b042a8 1/2: Remove use of with-suppressed-warnings (#91)
Date: Tue, 18 May 2021 02:57:09 -0400 (EDT)

branch: externals/hyperbole
commit 9b042a87411f1417ed83cf652237de0f7a8221b5
Author: Mats Lidell <mats.lidell@lidells.se>
Commit: GitHub <noreply@github.com>

    Remove use of with-suppressed-warnings (#91)
---
 ChangeLog         | 4 ++++
 hyperbole.el      | 3 +--
 kotl/kotl-mode.el | 3 +--
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 246367b..68a96fa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2021-05-17  Mats Lidell  <matsl@gnu.org>
 
+* kotl/kotl-mode.el (kotl-mode):
+  hyperbole.el (fboundp): Do not use with-suppressed-warnings since not
+    available in Emacs 26
+
 * kotl/kmenu.el (id-menubar-set): Add external dependency.
 
 * hyrolo.el (google-contacts-history, google-contacts-expire-time)
diff --git a/hyperbole.el b/hyperbole.el
index 83402a6..5ba685f 100644
--- a/hyperbole.el
+++ b/hyperbole.el
@@ -424,8 +424,7 @@ The function does NOT recursively descend into 
subdirectories of the
 directory or directories specified."
     ;; Don't use a 'let' on this next line or it will fail.
     (setq generated-autoload-file output-file)
-    (with-suppressed-warnings ((obsolete update-directory-autoloads))
-      (update-directory-autoloads dir))))
+    (update-directory-autoloads dir)))
 
 ;; Before the 6.0.1 release, Hyperbole used to patch the 
package-generate-autoloads
 ;; function to ensure that kotl/ subdirectories were autoloaded.  This
diff --git a/kotl/kotl-mode.el b/kotl/kotl-mode.el
index f3a4a64..1a55bf7 100644
--- a/kotl/kotl-mode.el
+++ b/kotl/kotl-mode.el
@@ -166,8 +166,7 @@ It provides the following keys:
   ;; We have been converting a buffer from a foreign format to a koutline.
   ;; Now that it is converted, ensure that `kotl-previous-mode' is set to
   ;; koutline.
-  (with-suppressed-warnings ((free-vars kotl-previous-mode))
-    (setq kotl-previous-mode 'kotl-mode))
+  (setq kotl-previous-mode 'kotl-mode)
   ;; Enable Org Table editing minor mode (user can disable via kotl-mode-hook
   ;; if desired).
   (orgtbl-mode 1)



reply via email to

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