[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/cdlatex b7af5a9884 16/49: Make `C-u C-c ?' call TeX-docume
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/cdlatex b7af5a9884 16/49: Make `C-u C-c ?' call TeX-documentation-texdoc |
Date: |
Mon, 11 Jul 2022 02:58:32 -0400 (EDT) |
branch: elpa/cdlatex
commit b7af5a9884189412b4699a8fbffcb8fc17bdf617
Author: Carsten Dominik <carsten.dominik@gmail.com>
Commit: Carsten Dominik <carsten.dominik@gmail.com>
Make `C-u C-c ?' call TeX-documentation-texdoc
---
cdlatex.el | 42 ++++++++++++++++++++++--------------------
1 file changed, 22 insertions(+), 20 deletions(-)
diff --git a/cdlatex.el b/cdlatex.el
index 260f8e89d9..3cf6b5949e 100644
--- a/cdlatex.el
+++ b/cdlatex.el
@@ -929,27 +929,29 @@ Sounds strange? Try it out!"
;; stop after closing bracket, unless ^_[{( follow
(throw 'stop t))))))))
-(defun cdlatex-command-help ()
+(defun cdlatex-command-help (&optional arg)
"Show the available cdlatex commands in the help buffer."
- (interactive)
- (with-output-to-temp-buffer " *CDLaTeX Help*"
- (princ " AVAILABLE KEYWORD COMMANDS WITH CDLaTeX\n")
- (princ " --------------------------------------\n")
- (princ "To execute, type keyword into buffer followed by TAB.\n\n")
- (let ((cmdlist cdlatex-command-alist-comb) item key doc text math)
- (while cmdlist
- (setq item (car cmdlist)
- cmdlist (cdr cmdlist)
- key (car item)
- doc (nth 1 item)
- text (nth 5 item)
- math (nth 6 item))
- (princ (format "%-10.10s %-58.58s %4s/%4s\n" key
- (if (> (length doc) 59)
- (substring doc 0 59)
- doc)
- (if text "TEXT" "")
- (if math "MATH" "")))))))
+ (interactive "P")
+ (if arg
+ (call-interactively 'TeX-documentation-texdoc)
+ (with-output-to-temp-buffer " *CDLaTeX Help*"
+ (princ " AVAILABLE KEYWORD COMMANDS WITH CDLaTeX\n")
+ (princ " --------------------------------------\n")
+ (princ "To execute, type keyword into buffer followed by TAB.\n\n")
+ (let ((cmdlist cdlatex-command-alist-comb) item key doc text math)
+ (while cmdlist
+ (setq item (car cmdlist)
+ cmdlist (cdr cmdlist)
+ key (car item)
+ doc (nth 1 item)
+ text (nth 5 item)
+ math (nth 6 item))
+ (princ (format "%-10.10s %-58.58s %4s/%4s\n" key
+ (if (> (length doc) 59)
+ (substring doc 0 59)
+ doc)
+ (if text "TEXT" "")
+ (if math "MATH" ""))))))))
;;; ---------------------------------------------------------------------------
;;;
- [nongnu] branch elpa/cdlatex created (now 4c392765e1), ELPA Syncer, 2022/07/11
- [nongnu] elpa/cdlatex 6fe5992805 01/49: Initial commit, ELPA Syncer, 2022/07/11
- [nongnu] elpa/cdlatex a9f3833566 05/49: Update README file, ELPA Syncer, 2022/07/11
- [nongnu] elpa/cdlatex ff534912b9 12/49: Merge pull request #6 from songpeng/master, ELPA Syncer, 2022/07/11
- [nongnu] elpa/cdlatex b7af5a9884 16/49: Make `C-u C-c ?' call TeX-documentation-texdoc,
ELPA Syncer <=
- [nongnu] elpa/cdlatex aa298afc87 02/49: Initial commit, ELPA Syncer, 2022/07/11
- [nongnu] elpa/cdlatex a0e0ad9efa 04/49: Change version number to 4.7, ELPA Syncer, 2022/07/11
- [nongnu] elpa/cdlatex 1d491c2ddd 06/49: Fix copyright notice, ELPA Syncer, 2022/07/11
- [nongnu] elpa/cdlatex a43e1f9e90 03/49: Overwrite using version 4.6, ELPA Syncer, 2022/07/11
- [nongnu] elpa/cdlatex 31b0d9372b 10/49: update README and make sure cdlatex is new., ELPA Syncer, 2022/07/11
- [nongnu] elpa/cdlatex fea53d325b 15/49: Merge pull request #10 from benide/master, ELPA Syncer, 2022/07/11
- [nongnu] elpa/cdlatex 437c06ebf8 18/49: Simplify the insertion of roman supscripts and superscripts., ELPA Syncer, 2022/07/11
- [nongnu] elpa/cdlatex 7ce2c74171 07/49: Add texmathp.el, ELPA Syncer, 2022/07/11
- [nongnu] elpa/cdlatex 575f7bfcf9 08/49: Added dash to conform to header rules, ELPA Syncer, 2022/07/11
- [nongnu] elpa/cdlatex a5cb624ef5 19/49: Fix some typografic issues in README file, ELPA Syncer, 2022/07/11