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

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

[elpa] externals/vlf 88dba8b 195/310: Remove unnecessary addition to loa


From: Stefan Monnier
Subject: [elpa] externals/vlf 88dba8b 195/310: Remove unnecessary addition to load-path on compile.
Date: Sat, 28 Nov 2020 00:33:14 -0500 (EST)

branch: externals/vlf
commit 88dba8bb25dc65bed3f17c7b93cb60ebc64ea1af
Author: Andrey Kotlarski <m00naticus@gmail.com>
Commit: Andrey Kotlarski <m00naticus@gmail.com>

    Remove unnecessary addition to load-path on compile.
---
 vlf-follow.el    | 3 ---
 vlf-integrate.el | 2 +-
 vlf-occur.el     | 3 ---
 vlf-search.el    | 3 ---
 vlf-write.el     | 3 ---
 vlf.el           | 3 ---
 6 files changed, 1 insertion(+), 16 deletions(-)

diff --git a/vlf-follow.el b/vlf-follow.el
index e6740f2..2b825da 100644
--- a/vlf-follow.el
+++ b/vlf-follow.el
@@ -27,9 +27,6 @@
 
 ;;; Code:
 
-(eval-when-compile
-  (add-to-list 'load-path default-directory))
-
 (require 'vlf)
 
 (defvar vlf-follow-timer nil
diff --git a/vlf-integrate.el b/vlf-integrate.el
index 8ead400..c072398 100644
--- a/vlf-integrate.el
+++ b/vlf-integrate.el
@@ -84,7 +84,7 @@ Possible values are: nil to never use it;
         (cadr mode)
       mode)))
 
-(autoload 'vlf "vlf" "View Large FILE in batches.")
+(autoload 'vlf "vlf" "View Large FILE in batches." t)
 
 (defadvice abort-if-file-too-large (around vlf-if-file-too-large
                                            compile activate)
diff --git a/vlf-occur.el b/vlf-occur.el
index 71a2fc5..10f8d6a 100644
--- a/vlf-occur.el
+++ b/vlf-occur.el
@@ -27,9 +27,6 @@
 
 ;;; Code:
 
-(eval-when-compile
-  (add-to-list 'load-path default-directory))
-
 (require 'vlf)
 
 (defvar vlf-occur-mode-map
diff --git a/vlf-search.el b/vlf-search.el
index 26ca0d0..0db5ba5 100644
--- a/vlf-search.el
+++ b/vlf-search.el
@@ -27,9 +27,6 @@
 
 ;;; Code:
 
-(eval-when-compile
-  (add-to-list 'load-path default-directory))
-
 (require 'vlf)
 
 (defun vlf-re-search (regexp count backward batch-step)
diff --git a/vlf-write.el b/vlf-write.el
index 25e9419..f1257d3 100644
--- a/vlf-write.el
+++ b/vlf-write.el
@@ -27,9 +27,6 @@
 
 ;;; Code:
 
-(eval-when-compile
-  (add-to-list 'load-path default-directory))
-
 (require 'vlf-base)
 
 (defun vlf-write ()
diff --git a/vlf.el b/vlf.el
index f3dc76c..9284f76 100644
--- a/vlf.el
+++ b/vlf.el
@@ -39,9 +39,6 @@
 
 ;;; Code:
 
-(eval-when-compile
-  (add-to-list 'load-path default-directory))
-
 (require 'vlf-base)
 
 (autoload 'vlf-write "vlf-write" "Write current chunk to file.")



reply via email to

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