MAJ avec la derniere version de Jacques
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2439 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
62dcdbce7c
commit
07e9a60325
|
@ -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 *~ #*#
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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)))
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue