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

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

[elpa] master d3f90cc 6/8: Change psvn integration example to use nadvic


From: Dmitry Gutov
Subject: [elpa] master d3f90cc 6/8: Change psvn integration example to use nadvice
Date: Sat, 23 Feb 2019 18:35:45 -0500 (EST)

branch: master
commit d3f90cc45fb8faef0c77f6eff42f87ad5be63864
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    Change psvn integration example to use nadvice
    
    It was added in Emacs 24.4, which is old enough
---
 README.md | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 2dfb52d..de07ffe 100644
--- a/README.md
+++ b/README.md
@@ -102,8 +102,7 @@ psvn
 -----
 
 ```lisp
-(defadvice svn-status-update-modeline (after svn-update-diff-hl activate)
-  (diff-hl-update))
+(advice-add 'svn-status-update-modeline :after #'diff-hl-update)
 ```
 
 Magit



reply via email to

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