Remove obsolete function to conditionally enable lispy

Not using this anymore.
This commit is contained in:
Daniel - 2023-04-30 17:25:53 +02:00
parent 8df66edf25
commit 7bd8c0ef2b
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625
2 changed files with 0 additions and 11 deletions

View File

@ -589,7 +589,6 @@
db/run-or-hide-ansi-term
db/hex-to-ascii
db/text-to-hex
conditionally-enable-lispy
turn-on-lispy-when-available
turn-on-flycheck-when-file
db/sort-nsm-permanent-settings

View File

@ -250,16 +250,6 @@ FORMAT-STRING defaults to some ISO 8601-like format."
(message time-string)
time-string)))
(defun conditionally-enable-lispy ()
"Enable lispy-mode when in `eval-expression or in
`pp-eval-expression. lispy must have been loaded for this
first, i.e., this function will not automatically load
lispy."
(when (and (featurep 'lispy)
(or (eq this-command 'eval-expression)
(eq this-command 'pp-eval-expression)))
(lispy-mode 1)))
(defun turn-on-lispy-when-available ()
"Activate `lispy in current buffer when possible.
Will print a warning in case of failure."