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

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

[elpa] scratch/dired-git-info 11a6cce 05/33: Update install instructions


From: Clemens Radermacher
Subject: [elpa] scratch/dired-git-info 11a6cce 05/33: Update install instructions
Date: Sun, 17 Feb 2019 13:03:27 -0500 (EST)

branch: scratch/dired-git-info
commit 11a6cce4cc6fe710a35656a811b2ef10d2eca45d
Author: Clemens Radermacher <address@hidden>
Commit: Clemens Radermacher <address@hidden>

    Update install instructions
---
 README.org        | 8 +++++++-
 dired-git-info.el | 2 ++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/README.org b/README.org
index 323c74f..02a6408 100644
--- a/README.org
+++ b/README.org
@@ -2,10 +2,16 @@
 
 [[./images/screenshot.png]]
 
+* Installation
+
+#+BEGIN_SRC elisp
+(package-install-file "/path/to/file.el")
+#+END_SRC
+
 * Config
 
 #+BEGIN_SRC elisp
-(add-to-list 'load-path "/path/to/file")
+(require 'dired-git-info)
 (with-eval-after-load 'dired
   (define-key dired-mode-map ")" 'dgi-toggle-git-info))
 #+END_SRC
diff --git a/dired-git-info.el b/dired-git-info.el
index 4cfdd38..9bc7d4f 100644
--- a/dired-git-info.el
+++ b/dired-git-info.el
@@ -295,6 +295,8 @@ info format and defaults to `dgi-commit-message-format'."
     (delete-overlay ov))
   (setq dgi--commit-ovs nil))
 
+
+;;;###autoload
 (defun dgi-toggle-git-info ()
   "Toggle git message info in current dired buffer."
   (interactive)



reply via email to

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