emacs-devel
[Top][All Lists]
Advanced

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

Re: syntax based indentation for SQL files (ELPA package proposal)


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



reply via email to

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