|
From: | Stefan Monnier |
Subject: | Re: syntax based indentation for SQL files (ELPA package proposal) |
Date: | Sun, 16 Sep 2018 17:30:17 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> (defun sql-is-indent-available () > "Check if sql-indent module is available." > (when (locate-library "sql-indent") > (require 'sql-indent) > (fboundp 'sqlind-minor-mode))) I'd recommend you just use (fboundp 'sqlind-minor-mode) since the ELPA package (or any proper manual install) sets up an autoload for it. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |