Remove obsolete function to conditionally enable lispy
Not using this anymore.
This commit is contained in:
parent
8df66edf25
commit
7bd8c0ef2b
1
init.el
1
init.el
@ -589,7 +589,6 @@
|
|||||||
db/run-or-hide-ansi-term
|
db/run-or-hide-ansi-term
|
||||||
db/hex-to-ascii
|
db/hex-to-ascii
|
||||||
db/text-to-hex
|
db/text-to-hex
|
||||||
conditionally-enable-lispy
|
|
||||||
turn-on-lispy-when-available
|
turn-on-lispy-when-available
|
||||||
turn-on-flycheck-when-file
|
turn-on-flycheck-when-file
|
||||||
db/sort-nsm-permanent-settings
|
db/sort-nsm-permanent-settings
|
||||||
|
|||||||
@ -250,16 +250,6 @@ FORMAT-STRING defaults to some ISO 8601-like format."
|
|||||||
(message time-string)
|
(message time-string)
|
||||||
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 ()
|
(defun turn-on-lispy-when-available ()
|
||||||
"Activate `lispy’ in current buffer when possible.
|
"Activate `lispy’ in current buffer when possible.
|
||||||
Will print a warning in case of failure."
|
Will print a warning in case of failure."
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user