[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] scratch/hyperbole c10536751a 10/15: hyperbole-autoloads.el: Remov
|
From: |
Stefan Monnier |
|
Subject: |
[elpa] scratch/hyperbole c10536751a 10/15: hyperbole-autoloads.el: Remove needless definitions |
|
Date: |
Tue, 2 May 2023 00:26:06 -0400 (EDT) |
branch: scratch/hyperbole
commit c10536751abe331273c3d0acf8ba2f0d09cfb22a
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
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 c6d2f0814d..d02ce7fef4 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 73430838f0..d9445717e0 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)))
- [elpa] scratch/hyperbole 2803a985a0 07/15: (kview:char-visible-p): Delete function, (continued)
- [elpa] scratch/hyperbole 2803a985a0 07/15: (kview:char-visible-p): Delete function, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole ba352bce93 14/15: Fix a few minor miscompilations and warnings, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole fdd704bf20 13/15: (man-show): Fix miscompilation, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole 538590efcc 06/15: Fix compilation of test file, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole 25e0fed3bb 12/15: * hui-select.el: Fix a few warnings and improve some docstrings, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole 02bf28e5cd 03/15: Try and avoid using `hyperb:stack-frame`, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole 2a58ece547 01/15: * hload-path.el (hyperb:dir): Use `macroexp-file-name`, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole 31e1c06f46 05/15: Get rid of `hyperb:stack-frame`, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole 73f076d5ad 08/15: * hact.el: Fix broken lexical-binding cookie, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole 8166bb40bf 09/15: * hyperbole.el: Preload `kotl-autoloads`, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole c10536751a 10/15: hyperbole-autoloads.el: Remove needless definitions,
Stefan Monnier <=
- [elpa] scratch/hyperbole e6fb782621 11/15: * hycontrol.el (hycontrol-windows-mode-map): Don't autoload, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole 0abc388edb 15/15: * hyrolo.el: A few cosmetic tweaks, Stefan Monnier, 2023/05/02