[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/smartparens f9fc6c9c3c 1/2: Use fboundp for functions
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/smartparens f9fc6c9c3c 1/2: Use fboundp for functions |
Date: |
Tue, 2 Jul 2024 13:01:21 -0400 (EDT) |
branch: elpa/smartparens
commit f9fc6c9c3c2b3fc54d3389bed2200fc5ac5bb1b0
Author: Akinori MUSHA <knu@idaemons.org>
Commit: Akinori MUSHA <knu@idaemons.org>
Use fboundp for functions
---
smartparens-ruby.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/smartparens-ruby.el b/smartparens-ruby.el
index 31267c7ddb..27b9c365b4 100644
--- a/smartparens-ruby.el
+++ b/smartparens-ruby.el
@@ -56,14 +56,14 @@
(defun sp-ruby-forward-sexp ()
"Wrapper for `ruby-forward-sexp' based on `enh-ruby-mode'."
(interactive)
- (if (boundp 'enh-ruby-forward-sexp)
+ (if (fboundp 'enh-ruby-forward-sexp)
(enh-ruby-forward-sexp)
(ruby-forward-sexp)))
(defun sp-ruby-backward-sexp ()
"Wrapper for `ruby-backward-sexp' based on `enh-ruby-mode'."
(interactive)
- (if (boundp 'enh-ruby-backward-sexp)
+ (if (fboundp 'enh-ruby-backward-sexp)
(enh-ruby-backward-sexp)
(ruby-backward-sexp)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/smartparens f9fc6c9c3c 1/2: Use fboundp for functions,
ELPA Syncer <=