From 203c967c40064f1000634b095b6397433c9fa9f3 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Fri, 14 Apr 2006 01:08:19 +0000 Subject: [PATCH] add makefile, and rip out xemacs compatibility mode --- emacs_el/Makefile | 14 ++++++++++++++ emacs_el/cperl-mode.el | 12 ------------ 2 files changed, 14 insertions(+), 12 deletions(-) create mode 100644 emacs_el/Makefile diff --git a/emacs_el/Makefile b/emacs_el/Makefile new file mode 100644 index 0000000..ddf9fdb --- /dev/null +++ b/emacs_el/Makefile @@ -0,0 +1,14 @@ +#!/usr/bin/make + +all: $(patsubst %.el,%.elc,$(wildcard *.el)) + +%.elc: %.el + echo $<|emacs -q -no-site-file --no-site-file -batch -f byte-compile-file; + +clean: + rubber -d --clean *.tex + rm -f *.tmp + rm -f figures/*.pdf + +.PHONY: clean all + diff --git a/emacs_el/cperl-mode.el b/emacs_el/cperl-mode.el index 2d30676..1cc2f17 100644 --- a/emacs_el/cperl-mode.el +++ b/emacs_el/cperl-mode.el @@ -3151,18 +3151,6 @@ or as help on variables `cperl-tips', `cperl-problems', (set 'vc-header-alist (or cperl-vc-header-alist ; Avoid warning (` ((SCCS (, (car cperl-vc-sccs-header))) (RCS (, (car cperl-vc-rcs-header))))))) - (cond ((boundp 'compilation-error-regexp-alist-alist);; xemacs 20.x - (make-local-variable 'compilation-error-regexp-alist-alist) - (set 'compilation-error-regexp-alist-alist - (cons (cons 'cperl cperl-compilation-error-regexp-alist) - (symbol-value 'compilation-error-regexp-alist-alist))) - (let ((f 'compilation-build-compilation-error-regexp-alist)) - (funcall f))) - ((boundp 'compilation-error-regexp-alist);; xmeacs 19.x - (make-local-variable 'compilation-error-regexp-alist) - (set 'compilation-error-regexp-alist - (cons cperl-compilation-error-regexp-alist - (symbol-value 'compilation-error-regexp-alist))))) (make-local-variable 'font-lock-defaults) (setq font-lock-defaults (cond -- 2.39.2