From 9592f57357ecb7fb755cbfef6d84f4df1cc5d120 Mon Sep 17 00:00:00 2001 From: Andreas Gerler Date: Fri, 31 Jan 2020 17:53:42 +0100 Subject: [PATCH] update markdown-mode --- .../markdown-mode-autoloads.el | 11 ++- .../markdown-mode-pkg.el | 2 +- .../markdown-mode.el | 18 ++--- elpa/markdown-mode-readme.txt | 68 +------------------ 4 files changed, 19 insertions(+), 80 deletions(-) rename elpa/{markdown-mode-20190802.2215 => markdown-mode-20191230.1055}/markdown-mode-autoloads.el (74%) rename elpa/{markdown-mode-20190802.2215 => markdown-mode-20191230.1055}/markdown-mode-pkg.el (70%) rename elpa/{markdown-mode-20190802.2215 => markdown-mode-20191230.1055}/markdown-mode.el (99%) diff --git a/elpa/markdown-mode-20190802.2215/markdown-mode-autoloads.el b/elpa/markdown-mode-20191230.1055/markdown-mode-autoloads.el similarity index 74% rename from elpa/markdown-mode-20190802.2215/markdown-mode-autoloads.el rename to elpa/markdown-mode-20191230.1055/markdown-mode-autoloads.el index 60062f13..4b56ca7a 100644 --- a/elpa/markdown-mode-20190802.2215/markdown-mode-autoloads.el +++ b/elpa/markdown-mode-20191230.1055/markdown-mode-autoloads.el @@ -1,10 +1,12 @@ ;;; markdown-mode-autoloads.el --- automatically extracted autoloads ;; ;;; Code: -(add-to-list 'load-path (directory-file-name (or (file-name-directory #$) (car load-path)))) + +(add-to-list 'load-path (directory-file-name + (or (file-name-directory #$) (car load-path)))) + -;;;### (autoloads nil "markdown-mode" "markdown-mode.el" (23994 46457 -;;;;;; 314913 169000)) +;;;### (autoloads nil "markdown-mode" "markdown-mode.el" (0 0 0 0)) ;;; Generated autoloads from markdown-mode.el (autoload 'markdown-mode "markdown-mode" "\ @@ -36,11 +38,14 @@ Toggle native previewing on save for a specific markdown file. \(fn &optional ARG)" t nil) +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "markdown-mode" '("gfm-" "markdown" "defun-markdown-"))) + ;;;*** ;; Local Variables: ;; version-control: never ;; no-byte-compile: t ;; no-update-autoloads: t +;; coding: utf-8 ;; End: ;;; markdown-mode-autoloads.el ends here diff --git a/elpa/markdown-mode-20190802.2215/markdown-mode-pkg.el b/elpa/markdown-mode-20191230.1055/markdown-mode-pkg.el similarity index 70% rename from elpa/markdown-mode-20190802.2215/markdown-mode-pkg.el rename to elpa/markdown-mode-20191230.1055/markdown-mode-pkg.el index a7913206..bf1cf623 100644 --- a/elpa/markdown-mode-20190802.2215/markdown-mode-pkg.el +++ b/elpa/markdown-mode-20191230.1055/markdown-mode-pkg.el @@ -1,2 +1,2 @@ ;;; -*- no-byte-compile: t -*- -(define-package "markdown-mode" "20190802.2215" "Major mode for Markdown-formatted text" '((emacs "24.4") (cl-lib "0.5")) :commit "f3c54e34cc5228001af36a5301883325319f21d4" :keywords '("markdown" "github flavored markdown" "itex") :authors '(("Jason R. Blevins" . "jblevins@xbeta.org")) :maintainer '("Jason R. Blevins" . "jblevins@xbeta.org") :url "https://jblevins.org/projects/markdown-mode/") +(define-package "markdown-mode" "20191230.1055" "Major mode for Markdown-formatted text" '((emacs "24.4") (cl-lib "0.5")) :commit "e9dff50d572caa96b68a7466c18c97a8d6ed651c" :keywords '("markdown" "github flavored markdown" "itex") :authors '(("Jason R. Blevins" . "jblevins@xbeta.org")) :maintainer '("Jason R. Blevins" . "jblevins@xbeta.org") :url "https://jblevins.org/projects/markdown-mode/") diff --git a/elpa/markdown-mode-20190802.2215/markdown-mode.el b/elpa/markdown-mode-20191230.1055/markdown-mode.el similarity index 99% rename from elpa/markdown-mode-20190802.2215/markdown-mode.el rename to elpa/markdown-mode-20191230.1055/markdown-mode.el index 0f9b43cc..4003f8a2 100644 --- a/elpa/markdown-mode-20190802.2215/markdown-mode.el +++ b/elpa/markdown-mode-20191230.1055/markdown-mode.el @@ -7,7 +7,7 @@ ;; Maintainer: Jason R. Blevins ;; Created: May 24, 2007 ;; Version: 2.4-dev -;; Package-Version: 20190802.2215 +;; Package-Version: 20191230.1055 ;; Package-Requires: ((emacs "24.4") (cl-lib "0.5")) ;; Keywords: Markdown, GitHub Flavored Markdown, itex ;; URL: https://jblevins.org/projects/markdown-mode/ @@ -2253,7 +2253,7 @@ Depending on your font, some reasonable choices are: ;;; Compatibility ============================================================= (defun markdown-replace-regexp-in-string (regexp rep string) - "Replace ocurrences of REGEXP with REP in STRING. + "Replace occurrences of REGEXP with REP in STRING. This is a compatibility wrapper to provide `replace-regexp-in-string' in XEmacs 21." (if (featurep 'xemacs) @@ -3686,7 +3686,7 @@ Return a cons cell containing updated bounds for the region." (cons beg (- end removed))))) (defun markdown-insert-hr (arg) - "Insert or replace a horizonal rule. + "Insert or replace a horizontal rule. By default, use the first element of `markdown-hr-strings'. When ARG is non-nil, as when given a prefix, select a different element as follows. When prefixed with \\[universal-argument], @@ -4749,7 +4749,7 @@ Then the returned list is: ((\"^1\" . 478) (\"^marker\" . 475))" (defun markdown-kill-thing-at-point () "Kill thing at point and add important text, without markup, to kill ring. Possible things to kill include (roughly in order of precedence): -inline code, headers, horizonal rules, links (add link text to +inline code, headers, horizontal rules, links (add link text to kill ring), images (add alt text to kill ring), angle uri, email addresses, bold, italics, reference definition (add URI to kill ring), footnote markers and text (kill both marker and text, add @@ -4769,7 +4769,7 @@ text to kill ring), and list items." ((thing-at-point-looking-at markdown-regex-header-setext) (kill-new (match-string 1)) (delete-region (match-beginning 0) (match-end 0))) - ;; Horizonal rule + ;; Horizontal rule ((thing-at-point-looking-at markdown-regex-hr) (kill-new (match-string 0)) (delete-region (match-beginning 0) (match-end 0))) @@ -4912,7 +4912,7 @@ duplicate positions, which are handled up by calling functions." (if (and prev-line-pos (> prev-line-pos tab-width)) (setq positions (cons (- prev-line-pos tab-width) positions))) - ;; Indentation of all preceeding list markers (when in a list) + ;; Indentation of all preceding list markers (when in a list) (when (setq pos (markdown-calculate-list-levels)) (setq positions (append pos positions))) @@ -7186,7 +7186,7 @@ markup." ;; Promote setext heading ((thing-at-point-looking-at markdown-regex-header-setext) (markdown-cycle-setext -1)) - ;; Promote horizonal rule + ;; Promote horizontal rule ((thing-at-point-looking-at markdown-regex-hr) (markdown-cycle-hr -1)) ;; Promote list item @@ -7218,7 +7218,7 @@ or remove markup." ;; Demote setext heading ((thing-at-point-looking-at markdown-regex-header-setext) (markdown-cycle-setext 1)) - ;; Demote horizonal rule + ;; Demote horizontal rule ((thing-at-point-looking-at markdown-regex-hr) (markdown-cycle-hr 1)) ;; Demote list item @@ -8169,7 +8169,7 @@ This is an exact copy of `line-number-at-pos' for use in emacs21." (thing-at-point-looking-at (markdown-make-regex-link-generic)))) (defun markdown-line-is-reference-definition-p () - "Return whether the current line is a (non-footnote) reference defition." + "Return whether the current line is a (non-footnote) reference definition." (save-excursion (move-beginning-of-line 1) (and (looking-at-p markdown-regex-reference-definition) diff --git a/elpa/markdown-mode-readme.txt b/elpa/markdown-mode-readme.txt index ff6029f3..378a0562 100644 --- a/elpa/markdown-mode-readme.txt +++ b/elpa/markdown-mode-readme.txt @@ -1,67 +1 @@ -markdown-mode is a major mode for editing [Markdown][]-formatted -text files in GNU Emacs. markdown-mode is free software, licensed -under the GNU GPL. - - [Markdown]: http://daringfireball.net/projects/markdown/ - -The latest stable version is markdown-mode 2.1, released on January 9, 2016: - - * [markdown-mode.el][] - * [Screenshot][][^theme] - * [Release notes][] - - [markdown-mode.el]: http://jblevins.org/projects/markdown-mode/markdown-mode.el - [Screenshot]: http://jblevins.org/projects/markdown-mode/screenshots/20160108-001.png - [Release notes]: http://jblevins.org/projects/markdown-mode/rev-2-1 - -[^theme]: The theme used in the screenshot is - [color-theme-twilight](https://github.com/crafterm/twilight-emacs). - -The latest development version can be obtained from the Git -repository at or from -[GitHub][]: - - git clone git://jblevins.org/git/markdown-mode.git - git clone https://github.com/jrblevin/markdown-mode.git - - [devel.el]: http://jblevins.org/git/markdown-mode.git/plain/markdown-mode.el - [GitHub]: https://github.com/jrblevin/markdown-mode/ - -markdown-mode is also available in several package managers, including: - - * Debian Linux: [elpa-markdown-mode][] and [emacs-goodies-el][] - * Ubuntu Linux: [elpa-markdown-mode][elpa-ubuntu] and [emacs-goodies-el][emacs-goodies-el-ubuntu] - * RedHat and Fedora Linux: [emacs-goodies][] - * NetBSD: [textproc/markdown-mode][] - * MacPorts: [markdown-mode.el][macports-package] ([pending][macports-ticket]) - * FreeBSD: [textproc/markdown-mode.el][freebsd-port] - - [elpa-markdown-mode]: https://packages.debian.org/sid/lisp/elpa-markdown-mode - [elpa-ubuntu]: http://packages.ubuntu.com/search?keywords=elpa-markdown-mode - [emacs-goodies-el]: http://packages.debian.org/emacs-goodies-el - [emacs-goodies-el-ubuntu]: http://packages.ubuntu.com/search?keywords=emacs-goodies-el - [emacs-goodies]: https://apps.fedoraproject.org/packages/emacs-goodies - [textproc/markdown-mode]: http://pkgsrc.se/textproc/markdown-mode - [macports-package]: https://trac.macports.org/browser/trunk/dports/editors/markdown-mode.el/Portfile - [macports-ticket]: http://trac.macports.org/ticket/35716 - [freebsd-port]: http://svnweb.freebsd.org/ports/head/textproc/markdown-mode.el - -Installation: - -Make sure to place `markdown-mode.el` somewhere in the load-path and add -the following lines to your `.emacs` file to associate markdown-mode -with `.text`, `.markdown`, and `.md` files: - - (autoload 'markdown-mode "markdown-mode" - "Major mode for editing Markdown files" t) - (add-to-list 'auto-mode-alist '("\\.text\\'" . markdown-mode)) - (add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode)) - (add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode)) - -There is no official Markdown file extension, nor is there even a -_de facto_ standard, so you can easily add, change, or remove any -of the file extensions above as needed. - -`markdown-mode' depends on `cl-lib', which has been bundled with -GNU Emacs since 24.3. Users of GNU Emacs 24.1 and 24.2 can install -`cl-lib' with `package.el'. +See the README.md file for details. -- 2.47.3