[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] externals/caml 9d5668c 051/197: fix caml-help
From: |
Stefan Monnier |
Subject: |
[nongnu] externals/caml 9d5668c 051/197: fix caml-help |
Date: |
Sat, 21 Nov 2020 01:19:36 -0500 (EST) |
branch: externals/caml
commit 9d5668c3736fa7af320adf2346a065f35e7edc0d
Author: Jacques Garrigue <garrigue at math.nagoya-u.ac.jp>
Commit: Jacques Garrigue <garrigue at math.nagoya-u.ac.jp>
fix caml-help
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4547
f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
---
Makefile | 3 ++-
caml-help.el | 4 ++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index a9b29d8..dcda075 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ include ../config/Makefile
# Files to install
FILES= caml-font.el caml-hilit.el caml.el camldebug.el \
- inf-caml.el caml-compat.el
+ inf-caml.el caml-compat.el caml-help.el
# Where to install. If empty, automatically determined.
#EMACSDIR=
@@ -20,6 +20,7 @@ COMPILECMD=(progn \
(setq load-path (cons "." load-path)) \
(byte-compile-file "caml.el") \
(byte-compile-file "inf-caml.el") \
+ (byte-compile-file "caml-help.el") \
(byte-compile-file "camldebug.el"))
install:
diff --git a/caml-help.el b/caml-help.el
index a4dc36f..20d97db 100644
--- a/caml-help.el
+++ b/caml-help.el
@@ -450,7 +450,7 @@ This uses info files produced by ocamldoc."
))
(defun ocaml-buffer-substring (region)
- (and region (buffer-substring (car region) (cdr region))))
+ (and region (buffer-substring-no-properties (car region) (cdr region))))
;; Help function.
@@ -467,7 +467,7 @@ current buffer using \\[ocaml-qualified-identifier]."
(and (file-exists-p
(concat (ocaml-uncapitalize module) ".mli"))
(ocaml-get-or-make-module module))))
- (location (cdadr module-info)))
+ (location (cdr (car (cdr module-info)))))
(cond
(location
(view-file (concat location (ocaml-uncapitalize module) ".mli"))
- [nongnu] externals/caml 53fb026 016/197: MAJ avec ocaml-mode 2.01 de Jacques Garrigue, (continued)
- [nongnu] externals/caml 53fb026 016/197: MAJ avec ocaml-mode 2.01 de Jacques Garrigue, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml 2694442 023/197: MAJ avec la derniere version de Jacques, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml 9fd72d7 029/197: nouvelle syntaxe avec tilde, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml 51403bf 028/197: MacOS: ajout macosunix; portage bigarray et systhreads; tabs, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml 7b99dbc 030/197: update labels, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml 479db1e 031/197: changes, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml 0a919f4 034/197: patch par Didier le Botlan pour les commentaires, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml 6af733d 036/197: passage aux labels stricts, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml 2eeca2e 039/197: xemacs keybind (PR#631), Stefan Monnier, 2020/11/21
- [nongnu] externals/caml 39cfb2e 049/197: define only if needed, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml 9d5668c 051/197: fix caml-help,
Stefan Monnier <=
- [nongnu] externals/caml d2f1cc7 052/197: better interaction with toplevel, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml 495ee65 053/197: caml-find-phrase, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml 9b77f6d 054/197: spurious newline, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml 28d1a1d 033/197: indentation of else, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml 1652c4e 035/197: detabisation, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml d75a12b 038/197: process ;; correctly, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml 2f6c6ce 042/197: Changement du mode inf-caml, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml ff4b9e8 043/197: gestion des commentaires de doc, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml bf92fed 010/197: Creer EMACSDIR si non existant, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml 8457cf2 019/197: Manque un quote, Stefan Monnier, 2020/11/21