Mercurial > emacs
annotate lispintro/makefile.w32-in @ 67171:35b9e081ceed
Remove useless leading * in defcustom docstrings.
(save-completions-file-name): Use ~/.emacs.d if available.
(completion-standard-syntax-table): Rename from
cmpl-standard-syntax-table and fold initialization into declaration,
thus removing cmpl-make-standard-completion-syntax-table.
(completion-lisp-syntax-table, completion-c-syntax-table)
(completion-fortran-syntax-table, completion-c-def-syntax-table): Idem.
(cmpl-saved-syntax, cmpl-saved-point): Remove.
(symbol-under-point, symbol-before-point)
(symbol-under-or-before-point, symbol-before-point-for-complete)
(add-completions-from-c-buffer): Use with-syntax-table.
(make-completion): Don't return a list of completion entries.
Update callers.
(cmpl-prefix-entry-head, cmpl-prefix-entry-tail): Use defalias.
(completion-initialize): Rename from initialize-completions.
(completion-find-file-hook): Rename from cmpl-find-file-hook.
(kill-emacs-save-completions): Collect stats here.
(save-completions-to-file, load-completions-from-file):
Use with-current-buffer.
(completion-def-wrapper): Rename from def-completion-wrapper. Make it
into a function. Move all calls to toplevel.
(completion-lisp-mode-hook): New fun.
(completion-c-mode-hook, completion-setup-fortran-mode):
Set the syntax-table here. Use local-set-key.
(completion-saved-bindings): New var.
(dynamic-completion-mode): Make it into a proper minor mode.
(load-completions-from-file): Remove unused var `num-uses'.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 28 Nov 2005 01:43:28 +0000 |
parents | 3861ff8f4bf1 |
children | e8a3fb527b77 2d92f5c9d6ae |
rev | line source |
---|---|
55092
9077e3f7cd49
Add "-*- makefile -*-" mode tag.
Juanma Barranquero <lekktu@gmail.com>
parents:
54200
diff
changeset
|
1 #### -*- Makefile -*- for the Emacs Lisp Introduction manual. |
52423 | 2 |
65000
3861ff8f4bf1
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64689
diff
changeset
|
3 # Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. |
52423 | 4 |
5 # This file is part of GNU Emacs. | |
6 | |
7 # GNU Emacs is free software; you can redistribute it and/or modify | |
8 # it under the terms of the GNU General Public License as published by | |
9 # the Free Software Foundation; either version 2, or (at your option) | |
10 # any later version. | |
11 | |
12 # GNU Emacs is distributed in the hope that it will be useful, | |
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 # GNU General Public License for more details. | |
16 | |
17 # You should have received a copy of the GNU General Public License | |
18 # along with GNU Emacs; see the file COPYING. If not, write to | |
64083 | 19 # the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
20 # Boston, MA 02110-1301, USA. | |
52423 | 21 |
22 srcdir = . | |
23 | |
24 infodir = $(srcdir)/../info | |
25 | |
26 INFO_SOURCES = $(srcdir)/emacs-lisp-intro.texi | |
27 # The file name eintr must fit within 5 characters, to allow for | |
28 # -NN extensions to fit into DOS 8+3 limits without clashing | |
29 INFO_TARGETS = $(infodir)/eintr | |
30 DVI_TARGETS = emacs-lisp-intro.dvi | |
31 | |
32 MAKEINFO = makeinfo | |
33 INSTALL_INFO = install-info | |
34 TEXI2DVI = texi2dvi | |
35 DVIPS = dvips | |
36 ENVADD = $(srcdir)\..\nt\envadd.bat "TEXINPUTS=$(srcdir);$(TEXINPUTS)" \ | |
37 "MAKEINFO=$(MAKEINFO) -I$(srcdir)" /C | |
38 | |
39 .SUFFIXES: .dvi .ps .texi | |
40 | |
41 info: $(INFO_TARGETS) | |
64689
41b16531418b
(info): Don't run install-info.
Eli Zaretskii <eliz@gnu.org>
parents:
64083
diff
changeset
|
42 |
41b16531418b
(info): Don't run install-info.
Eli Zaretskii <eliz@gnu.org>
parents:
64083
diff
changeset
|
43 $(infodir)/dir: |
52423 | 44 $(INSTALL_INFO) --info-dir=$(infodir) $(INFO_TARGETS) |
45 | |
46 dvi: $(DVI_TARGETS) | |
47 | |
48 $(infodir)/eintr: $(INFO_SOURCES) | |
49 $(MAKEINFO) -o $@ $(srcdir)/emacs-lisp-intro.texi | |
50 | |
51 emacs-lisp-intro.dvi: $(INFO_SOURCES) | |
52 $(ENVADD) $(TEXI2DVI) $(srcdir)/emacs-lisp-intro.texi | |
53 | |
54 emacs-lisp-intro.html: $(INFO_SOURCES) | |
55 $(MAKEINFO) --html -o $@ $(srcdir)/emacs-lisp-intro.texi | |
56 | |
57 .dvi.ps: | |
58 $(DVIPS) $< -o $@ | |
59 | |
60 mostlyclean: | |
54200
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
61 - $(DEL) *.log *.cp *.fn *.ky *.pg *.vr *.tp |
52423 | 62 |
63 clean: mostlyclean | |
54200
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
64 - $(DEL) *.dvi $(infodir)/eintr* |
52423 | 65 |
66 distclean: clean | |
67 | |
68 maintainer-clean: distclean | |
54200
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
69 - $(DEL) *.aux *.cps *.fns *.kys *.pgs *.vrs *.toc |
52423 | 70 |
71 # Tell versions [3.59,3.63) of GNU make to not export all variables. | |
72 # Otherwise a system limit (for SysV at least) may be exceeded. | |
73 .NOEXPORT: |