aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorGlenn Morris2017-12-16 12:18:45 -0800
committerGlenn Morris2017-12-16 12:18:45 -0800
commit8e46d93dcdabfa9fb099345fa12378479b4dbe63 (patch)
tree3586203b53367f0bc71460e31caee41a79b84d8f /lisp/textmodes
parentda2c441079c74b18399176df3f92613436ef53dc (diff)
parent28e0261890e6335cb49cc03c47c206ce9c022448 (diff)
downloademacs-8e46d93dcdabfa9fb099345fa12378479b4dbe63.tar.gz
emacs-8e46d93dcdabfa9fb099345fa12378479b4dbe63.zip
Merge from origin/emacs-26
28e0261890 * lisp/progmodes/cc-defs.el (c-version): Update to 5.33.1. ac53084f9b Improve fix for Bug#29712 ffd4771560 * doc/lispref/sequences.texi (Sequence Functions): Improve... f274cbd185 Avoid reordering of output in 'shr-insert-document' 7890864413 Improve documentation of 'invisible-p' a1327bbc64 Remove one more check that Vframe_list is non-nil 63b6281fdd Fix off-by-one error in 'css--hex-color' 804b37ca63 Save and restore text-pixel height and width of frames (Bu... 777fe94661 Partially revert "Mention new strictness for &optional, &r... ad17db7964 * lisp/vc/smerge-mode.el (smerge-refine): Respect font-loc... 5a7d0095a4 * lisp/vc/smerge-mode.el (smerge-refine): Replace obsolete... e019c35df6 FOR_EACH_FRAME no longer assumes frame-list d64b88da2f * src/font.c (Ffont_info): Doc fix. (Bug#29682) 92b2604a7f Modernise message.el face spec syntax b1efbe6564 Update message.el obsolete face aliases 2494c14e76 ; * lisp/comint.el (comint-terminfo-terminal): Add a :vers... 12ad276d15 Improve documentation of TERM environment variable 8ed529f0f3 Add option to configure comint TERM 889f07c352 Better support utf-8-with-signature and utf-8-hfs in XML/HTML a2697fac0e * lisp/menu-bar.el (menu-bar-mode): Doc fix. ffb50eace6 ; * etc/NEWS: Fix last change. 95606af8b0 Fix Bug#29712 in tramp-tests.el 9bf66c6bee Don't run FOR_EACH_FRAME when there's no frame left (Bug#2... c2a88ec8e8 * lisp/textmodes/tex-mode.el: Ensure uncompiled file is lo... b178870528 Remember password change for IMAP in Gnus (Bug#29692) a21dac18bb Add %DUMBFW to the default GnuTLS priority strings 780407cff1 Small fixes prompted by make check-declare 541a60108d Fix some custom groups e220d6e112 Fix fontification of first declaration within a C++ lambda... aa66da220c * src/data.c (Fadd_variable_watcher): Doc fix. f838210b01 Fix misfontification of C++ member initialization list aft... 232c6465ce Fix doc-string of Fbuffer_list 3f9aac68d7 Don't raise an extraneous frame (bug#29696) e7b1111155 Mention new strictness for &optional, &rest in arglists (B... 4cb8696e47 Don't misfontify "foo ()" inside C++ initialization parent... ce31e726ad Fixes for defcustoms, prompted by cus-test-opts aacd1e14fc * lisp/net/newst-backend.el (newsticker--raw-url-list-defa... 7e2f4d3d41 * lisp/htmlfontify.el (hfy-which-etags): Fix it. 52d2a690f6 Add missing :version tags revealed by cusver-check f5d0360234 Escape column-zero doc parens # Conflicts: # etc/NEWS
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/css-mode.el2
-rw-r--r--lisp/textmodes/less-css-mode.el7
-rw-r--r--lisp/textmodes/tex-mode.el9
-rw-r--r--lisp/textmodes/tildify.el2
4 files changed, 12 insertions, 8 deletions
diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el
index 93ca36b08aa..96c3f6b9395 100644
--- a/lisp/textmodes/css-mode.el
+++ b/lisp/textmodes/css-mode.el
@@ -1037,7 +1037,7 @@ This recognizes CSS-color-4 extensions."
1037STR is the incoming CSS hex color. 1037STR is the incoming CSS hex color.
1038This function simply drops any transparency." 1038This function simply drops any transparency."
1039 ;; Either #RGB or #RRGGBB, drop the "A" or "AA". 1039 ;; Either #RGB or #RRGGBB, drop the "A" or "AA".
1040 (if (> (length str) 4) 1040 (if (> (length str) 5)
1041 (substring str 0 7) 1041 (substring str 0 7)
1042 (substring str 0 4))) 1042 (substring str 0 4)))
1043 1043
diff --git a/lisp/textmodes/less-css-mode.el b/lisp/textmodes/less-css-mode.el
index d31414e3a4b..c2846ac926b 100644
--- a/lisp/textmodes/less-css-mode.el
+++ b/lisp/textmodes/less-css-mode.el
@@ -78,6 +78,7 @@
78 78
79(defgroup less-css nil 79(defgroup less-css nil
80 "Less CSS mode." 80 "Less CSS mode."
81 :version "26.1"
81 :prefix "less-css-" 82 :prefix "less-css-"
82 :group 'css) 83 :group 'css)
83 84
@@ -105,7 +106,7 @@ Use \"-x\" to minify output."
105This path is expanded relative to the directory of the Less file 106This path is expanded relative to the directory of the Less file
106using `expand-file-name', so both relative and absolute paths 107using `expand-file-name', so both relative and absolute paths
107will work as expected." 108will work as expected."
108 :type 'directory) 109 :type '(choice (const :tag "Same as Less file" nil) directory))
109;;;###autoload 110;;;###autoload
110(put 'less-css-output-directory 'safe-local-variable 'stringp) 111(put 'less-css-output-directory 'safe-local-variable 'stringp)
111 112
@@ -115,7 +116,7 @@ This can be also be set to a full path, or a relative path. If
115the path is relative, it will be relative to the value of 116the path is relative, it will be relative to the value of
116`less-css-output-dir', if set, or the current directory by 117`less-css-output-dir', if set, or the current directory by
117default." 118default."
118 :type 'file) 119 :type '(choice (const :tag "Default" nil) file))
119(make-variable-buffer-local 'less-css-output-file-name) 120(make-variable-buffer-local 'less-css-output-file-name)
120 121
121(defcustom less-css-input-file-name nil 122(defcustom less-css-input-file-name nil
@@ -131,7 +132,7 @@ variables.
131This can be also be set to a full path, or a relative path. If 132This can be also be set to a full path, or a relative path. If
132the path is relative, it will be relative to the current 133the path is relative, it will be relative to the current
133directory by default." 134directory by default."
134 :type 'file) 135 :type '(choice (const nil) file))
135;;;###autoload 136;;;###autoload
136(put 'less-css-input-file-name 'safe-local-variable 'stringp) 137(put 'less-css-input-file-name 'safe-local-variable 'stringp)
137(make-variable-buffer-local 'less-css-input-file-name) 138(make-variable-buffer-local 'less-css-input-file-name)
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index 5c585ea46ca..432a779b4a8 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -266,12 +266,14 @@ measured relative to that of the normal text."
266 266
267(defcustom tex-chktex-program "chktex" 267(defcustom tex-chktex-program "chktex"
268 "ChkTeX executable to use for linting TeX files." 268 "ChkTeX executable to use for linting TeX files."
269 :version "26.1"
269 :type 'string 270 :type 'string
270 :link '(url-link "man:chktex(1)") 271 :link '(url-link "man:chktex(1)")
271 :group 'tex-flymake) 272 :group 'tex-flymake)
272 273
273(defcustom tex-chktex-extra-flags nil 274(defcustom tex-chktex-extra-flags nil
274 "Extra command line flags for `tex-chktex-program'." 275 "Extra command line flags for `tex-chktex-program'."
276 :version "26.1"
275 :type '(repeat string) 277 :type '(repeat string)
276 :group 'tex-flymake) 278 :group 'tex-flymake)
277 279
@@ -1012,9 +1014,10 @@ Inherits `shell-mode-map' with a few additions.")
1012;; This is a) ugly, and b) cheating, but this was the last 1014;; This is a) ugly, and b) cheating, but this was the last
1013;; remaining warning from byte-compiling all of Emacs... 1015;; remaining warning from byte-compiling all of Emacs...
1014(eval-when-compile 1016(eval-when-compile
1015 (setq byte-compile-function-environment 1017 (if (boundp 'byte-compile-function-environment)
1016 (delq (assq 'tex-mode byte-compile-function-environment) 1018 (setq byte-compile-function-environment
1017 byte-compile-function-environment))) 1019 (delq (assq 'tex-mode byte-compile-function-environment)
1020 byte-compile-function-environment))))
1018 1021
1019;;;###autoload 1022;;;###autoload
1020(defun tex-mode () 1023(defun tex-mode ()
diff --git a/lisp/textmodes/tildify.el b/lisp/textmodes/tildify.el
index 0d7b15dfc6b..f25dfbcc75d 100644
--- a/lisp/textmodes/tildify.el
+++ b/lisp/textmodes/tildify.el
@@ -350,7 +350,7 @@ If ASK is nil, perform replace without asking user for confirmation.
350 350
351Returns (count . response) cons where count is number of string 351Returns (count . response) cons where count is number of string
352replacements done and response is one of symbols: t (all right), nil 352replacements done and response is one of symbols: t (all right), nil
353(quit), force (replace without further questions)." 353\(quit), force (replace without further questions)."
354 (save-excursion 354 (save-excursion
355 (goto-char beg) 355 (goto-char beg)
356 (let ((regexp tildify-pattern) 356 (let ((regexp tildify-pattern)