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

bad .emacs file



The problem is the w3m-load line too.
(add-hook 'text-mode-hook 'turn-on-auto-fill)
;;; This was installed by package-install.el.
;;; This provides support for the package system and
;;; interfacing with ELPA, the package archive.
;;; Move this code earlier if you want to reference
;;; packages in your .emacs.
(when
    (load
     (expand-file-name "~/.emacs.d/elpa/package.el"))
  (package-initialize))
(add-hook 'mail-setup-hook 'spook)
(add-hook 'mail-setup-hook 'fortune-to-signature)
(setq mh-send-uses-spost-flag t)
     (setq mail-user-agent 'mh-e-user-agent)
     (setq browse-url-browser-function 'w3m-browse-url)
     (require 'w3m-load)
     (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
          (global-set-key "\C-cl" 'org-store-link)
	       (global-set-key "\C-ca" 'org-agenda)
	       (global-font-lock-mode 1)
	       (add-to-list 'load-path "~/elisp/muse/lisp")
	            (add-to-list 'load-path "~/elisp/planner")
		         (add-to-list 'load-path "~/elisp/remember")
			 (setq planner-project "WikiPlanner")
			      (setq muse-project-alist
			                 '(("WikiPlanner"
					              ("~/plans"   ;; Or wherever you want your planner files to be
						                   :default "index"
								                :major-mode planner-mode
										             :visit-link planner-visit-link))))
											          (require 'planner)

the w3mload.el package is in /usr/share/emacs/site-lisp/w3m/ on my system.  
Slackware 13.0 for now. How can I clear this error?  I have w3m-0.5.3 
installed here too.  Emacs version is 22 as distributed on stock slackware 
distribution.