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

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

[elpa] externals/dash b1cfe18 209/426: Fix incorrect alias checking in d


From: Phillip Lord
Subject: [elpa] externals/dash b1cfe18 209/426: Fix incorrect alias checking in docs--signature
Date: Tue, 04 Aug 2015 19:37:47 +0000

branch: externals/dash
commit b1cfe18231868770dc4f4d1a0e6cf48127e7973c
Author: Wilfred Hughes <address@hidden>
Commit: Wilfred Hughes <address@hidden>

    Fix incorrect alias checking in docs--signature
    
    help-split-fundoc expects the function symbol to be the function
    name used in the docstring. Since we only use help-split-fundoc for
    subrs, this isn't an issue in practice, because subrs use
    `(fn some-arg some-other-arg)` rather than an explicit name.
    
    Still, the boolean ought to do what it says it's doing.
---
 dev/examples-to-docs.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dev/examples-to-docs.el b/dev/examples-to-docs.el
index a5be5d3..d533d66 100644
--- a/dev/examples-to-docs.el
+++ b/dev/examples-to-docs.el
@@ -16,7 +16,7 @@
   "Given FUNCTION (a symbol), return its argument list.
 FUNCTION may reference an elisp function, alias, macro or a subr."
   (let* ((function-value (indirect-function function))
-         (is-alias (eq function-value (symbol-function function)))
+         (is-alias (not (eq function-value (symbol-function function))))
          ;; if FUNCTION isn't an alias, function-symbol is simply FUNCTION
          (function-symbol function))
     



reply via email to

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