1
0
mirror of https://github.com/m00natic/vlfi.git synced 2024-10-05 18:30:51 +01:00

Remove unnecessary addition to load-path on compile.

This commit is contained in:
Andrey Kotlarski 2014-01-07 23:36:39 +02:00
parent 47c154cc1f
commit 88dba8bb25
6 changed files with 1 additions and 16 deletions

View File

@ -27,9 +27,6 @@
;;; Code:
(eval-when-compile
(add-to-list 'load-path default-directory))
(require 'vlf)
(defvar vlf-follow-timer nil

View File

@ -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)

View File

@ -27,9 +27,6 @@
;;; Code:
(eval-when-compile
(add-to-list 'load-path default-directory))
(require 'vlf)
(defvar vlf-occur-mode-map

View File

@ -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)

View File

@ -27,9 +27,6 @@
;;; Code:
(eval-when-compile
(add-to-list 'load-path default-directory))
(require 'vlf-base)
(defun vlf-write ()

3
vlf.el
View File

@ -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.")