Fix condition for checking version of Emacs
emacs-version ; => "24.3.1"
(and (> emacs-major-version 24) (> emacs-minor-version 2)) ; => nil
(and (>= emacs-major-version 24) (> emacs-minor-version 2)) ; => t
thanks to @peterwang
0d189230e8 (commitcomment-5762776)
This commit is contained in:
parent
c201a5dec6
commit
f19dedeabb
|
@ -77,7 +77,7 @@ the \"Gen RGB\" column in solarized-definitions.el to improve them further."
|
|||
capabilities, etc.")
|
||||
|
||||
(defvar which-flet
|
||||
(if (and (> emacs-major-version 24) (> emacs-minor-version 2))
|
||||
(if (and (>= emacs-major-version 24) (> emacs-minor-version 2))
|
||||
(fset 'which-flet 'cl-flet)
|
||||
(fset 'which-flet 'flet))
|
||||
"This variable will store either flet or cl-flet depending on the Emacs
|
||||
|
|
Loading…
Reference in New Issue