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

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

[elpa] externals/hyperbole f02d6effe0 11/47: hyperbole-autoloads.el: Rem


From: ELPA Syncer
Subject: [elpa] externals/hyperbole f02d6effe0 11/47: hyperbole-autoloads.el: Remove needless definitions
Date: Sun, 25 Jun 2023 15:58:35 -0400 (EDT)

branch: externals/hyperbole
commit f02d6effe0eb93b89372100c4c21dcf45f456122
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Mats Lidell <mats.lidell@lidells.se>

    hyperbole-autoloads.el: Remove needless definitions
    
    * hversion.el (hyperb:mouse-buttons):
    * hload-path.el (hyperb:microsoft-os-p, hyperb:wsl-os-p): Don't
    needlessly predefine internal variables.
    (load-path): Don't add `test` to the `load-path`.
---
 hload-path.el | 8 +++++---
 hversion.el   | 2 +-
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/hload-path.el b/hload-path.el
index 1b5e9dce58..b144b5f674 100644
--- a/hload-path.el
+++ b/hload-path.el
@@ -25,14 +25,14 @@
 ;;; Public variables
 ;;; ************************************************************************
 
-;;;###autoload
+
 (defvar hyperb:microsoft-os-p
   (memq system-type '(ms-windows windows-nt ms-dos win32))
   "Non-nil iff Hyperbole is running under a Microsoft OS but not for WSL.
 WSL is Windows Subsystem for Linux.
 Use `hyperb:wsl-os-p' to test if running under WSL.")
 
-;;;###autoload
+
 (defvar hyperb:wsl-os-p
   (and (eq system-type 'gnu/linux) (executable-find "wsl.exe") t)
   "T iff Hyperbole is running under Microsoft Windows Subsystem for Linux 
(WSL).")
@@ -72,7 +72,9 @@ Valid values end with a directory separator character.")
 ;;; Hyperbole test importation settings
 ;;; ************************************************************************
 
-(add-to-list 'load-path (expand-file-name "test" hyperb:dir))
+;; FIXME: This should be done only when running the tests, not in
+;; normal sessions.
+;;(add-to-list 'load-path (expand-file-name "test" hyperb:dir))
 
 ;; Ensure final name (after resolving all links) of hyperb:dir is
 ;; used after setting up load-path; otherwise, Hyperbole may fail
diff --git a/hversion.el b/hversion.el
index e993e7c53b..653952d84f 100644
--- a/hversion.el
+++ b/hversion.el
@@ -28,7 +28,7 @@
 
 (defconst hyperb:version "8.0.1pre" "GNU Hyperbole revision number.")
 
-;;;###autoload
+
 (defvar hyperb:mouse-buttons
   (if (or (and hyperb:microsoft-os-p (not (memq window-system '(w32 w64 x))))
          (memq window-system '(ns dps)))



reply via email to

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