Mercurial > hg > xemacs-beta
comparison lisp/modes/make-mode.el @ 179:9ad43877534d r20-3b16
Import from CVS: tag r20-3b16
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:52:19 +0200 |
parents | 28f395d8dc7a |
children |
comparison
equal
deleted
inserted
replaced
178:e703507b8a00 | 179:9ad43877534d |
---|---|
99 :prefix "makefile-") | 99 :prefix "makefile-") |
100 | 100 |
101 | 101 |
102 ;; Sadly we need this for a macro. | 102 ;; Sadly we need this for a macro. |
103 (eval-when-compile | 103 (eval-when-compile |
104 (require 'imenu)) | 104 (unless (featurep 'xemacs) |
105 (require 'imenu))) | |
105 | 106 |
106 ;;; ------------------------------------------------------------ | 107 ;;; ------------------------------------------------------------ |
107 ;;; Configurable stuff | 108 ;;; Configurable stuff |
108 ;;; ------------------------------------------------------------ | 109 ;;; ------------------------------------------------------------ |
109 | 110 |
583 ;; Add-log. | 584 ;; Add-log. |
584 (make-local-variable 'add-log-current-defun-function) | 585 (make-local-variable 'add-log-current-defun-function) |
585 (setq add-log-current-defun-function 'makefile-add-log-defun) | 586 (setq add-log-current-defun-function 'makefile-add-log-defun) |
586 | 587 |
587 ;; Imenu. | 588 ;; Imenu. |
588 (make-local-variable 'imenu-create-index-function) | 589 (unless (featurep 'xemacs) |
589 (setq imenu-create-index-function 'makefile-menu-index-function) | 590 (make-local-variable 'imenu-create-index-function) |
591 (setq imenu-create-index-function 'makefile-menu-index-function)) | |
590 | 592 |
591 ;; Dabbrev. | 593 ;; Dabbrev. |
592 (make-local-variable 'dabbrev-abbrev-skip-leading-regexp) | 594 (make-local-variable 'dabbrev-abbrev-skip-leading-regexp) |
593 (setq dabbrev-abbrev-skip-leading-regexp "\\$") | 595 (setq dabbrev-abbrev-skip-leading-regexp "\\$") |
594 | 596 |