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

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

[elpa] externals/adjust-parens 7ac87fa 4/8: * adjust-parens.el (last-sex


From: Stefan Monnier
Subject: [elpa] externals/adjust-parens 7ac87fa 4/8: * adjust-parens.el (last-sexp-with-relative-depth): Fix function
Date: Tue, 1 Dec 2020 15:12:00 -0500 (EST)

branch: externals/adjust-parens
commit 7ac87fa05e64a0ffb996cee3923e8588c5df0047
Author: Barry <gundaetiapo@gmail.com>
Commit: Barry <gundaetiapo@gmail.com>

    * adjust-parens.el (last-sexp-with-relative-depth): Fix function
    documentation which indicated negative depth when positive is
    correct.
---
 adjust-parens.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/adjust-parens.el b/adjust-parens.el
index 066dd0f..0ba2e6b 100644
--- a/adjust-parens.el
+++ b/adjust-parens.el
@@ -3,7 +3,7 @@
 ;; Copyright (C) 2013  Free Software Foundation, Inc.
 
 ;; Author: Barry O'Reilly <gundaetiapo@gmail.com>
-;; Version: 1.2
+;; Version: 1.3
 
 ;; This program is free software; you can redistribute it and/or modify
 ;; it under the terms of the GNU General Public License as published by
@@ -116,7 +116,7 @@ Examples:
   Evaluate: (last-sexp-with-relative-depth pos-a (1+ pos-j) 0)
   Returns:  position of j
 
-  Evaluate: (last-sexp-with-relative-depth pos-a (1+ pos-j) -1)
+  Evaluate: (last-sexp-with-relative-depth pos-a (1+ pos-j) 1)
   Returns:  position of (h i)
 
 This function assumes FROM-POS is not in a string or comment."



reply via email to

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