cannot load cl-lib at emacs startup

Viewed 9807

I have downloaded autopair from Github and extracted it to ~/.emacs.d . Also I added the lines given in the installation instructions

(add-to-list 'load-path "/path/to/autopair") ;; comment if autopair.el is in standard load path 
(require 'autopair)
(autopair-global-mode) ;; enable autopair in all buffers

I modified (add-to-list 'load-path "/path/to/autopair") as (add-to-list 'load-path "~/.emacs.d/autopair-master/") as that folder contains the autopair.el file. But when I open emacs it shows

Warning (initialization): An error occurred while loading `/home/karthikeyan/.emacs':

File error: Cannot open load file, cl-lib

I use emacs 23.4.1 in Linux Mint 15 and is there any alternate way to autocomplete the braces with a function at startup? . Also it doesn't showup autopair mode in Meta-x

1 Answers
Related