MAJ avec la derniere version de Jacques

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2439 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Xavier Leroy 1999-10-18 09:40:46 +00:00
parent 62dcdbce7c
commit 07e9a60325
4 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,5 @@
include ../config/Makefile
# Files to install
FILES= caml-font.el caml-hilit.el caml.el camldebug.el \
inf-caml.el caml-compat.el
@ -9,7 +11,7 @@ FILES= caml-font.el caml-hilit.el caml.el camldebug.el \
EMACS=emacs
# Where to install ocamltags script
SCRIPTDIR = /usr/local/bin
SCRIPTDIR = $(BINDIR)
# Command for byte-compiling the files
COMPILECMD=(progn \
@ -44,7 +46,7 @@ ocamltags: ocamltags.in
install-ocamltags: ocamltags
cp ocamltags $(SCRIPTDIR)/olabltags
cp ocamltags $(SCRIPTDIR)/ocamltags
clean:
rm -f ocamltags *~ #*#

View File

@ -28,7 +28,7 @@ To install the mode itself, edit the Makefile and do
% make install
To install ocamltags, set SCRIPTDIR in the Makefile and do
To install ocamltags, do
% make install-ocamltags

View File

@ -619,7 +619,7 @@ variable caml-mode-indentation."
;; This function switches to monobyte mode
(if (not (fboundp 'char-bytes))
(defalias 'forward-byte forward-char)
(defalias 'forward-byte 'forward-char)
(defun caml-char-bytes (ch)
(let ((l (char-bytes ch)))
(if (> l 1) (- l 1) l)))

View File

@ -29,8 +29,9 @@
(defun caml-tags-file (filename)
(let* ((output-buffer (current-buffer))
(basename (file-name-nondirectory filename))
(backpatch (prog2
(insert " \n" filename)
(insert " \n" basename)
(point))))
(find-file-read-only filename)
(caml-mode)