diff options
Diffstat (limited to 'users/wpcarro/emacs/pkgs/maybe')
-rw-r--r-- | users/wpcarro/emacs/pkgs/maybe/maybe.el | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/users/wpcarro/emacs/pkgs/maybe/maybe.el b/users/wpcarro/emacs/pkgs/maybe/maybe.el index 3c386b531865..581568d8ccba 100644 --- a/users/wpcarro/emacs/pkgs/maybe/maybe.el +++ b/users/wpcarro/emacs/pkgs/maybe/maybe.el @@ -25,9 +25,6 @@ ;; Nil | Set ;; ;; NOTE: In Elisp, values like '() (i.e. the empty list) are aliases for nil. -;; What else in Elisp is an alias in this way? -;; Examples: -;; TODO: Provide examples of other nil types in Elisp. ;;; Code: @@ -37,7 +34,7 @@ (defun maybe-nil? (x) "Return t if X is nil." - (eq nil x)) + (null x)) (defun maybe-some? (x) "Return t when X is non-nil." |