aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorEli Zaretskii2015-05-16 12:33:12 +0300
committerEli Zaretskii2015-05-16 12:33:12 +0300
commitda4a31b1b1af919f0473dffa86b46beec5ca5541 (patch)
tree90abc1a14c215cd6efa3a492400a39dbd356602a /lisp
parent91a274810ff17403f37bde512716b180c9ab75ef (diff)
parenta96731d7f0f0616e500583a1d3eaa912a7f0ec16 (diff)
downloademacs-da4a31b1b1af919f0473dffa86b46beec5ca5541.tar.gz
emacs-da4a31b1b1af919f0473dffa86b46beec5ca5541.zip
Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs
Diffstat (limited to 'lisp')
-rw-r--r--lisp/cus-start.el1
-rw-r--r--lisp/emacs-lisp/generator.el2
-rw-r--r--lisp/emacs-lisp/tabulated-list.el24
-rw-r--r--lisp/international/cp51932.el2
-rw-r--r--lisp/international/eucjp-ms.el2
-rw-r--r--lisp/language/japanese.el4
-rw-r--r--lisp/loadup.el2
7 files changed, 24 insertions, 13 deletions
diff --git a/lisp/cus-start.el b/lisp/cus-start.el
index 071aaa6850f..b4d2139022c 100644
--- a/lisp/cus-start.el
+++ b/lisp/cus-start.el
@@ -438,6 +438,7 @@ Leaving \"Default\" unchecked is equivalent with specifying a default of
438 (const super)) "23.1") 438 (const super)) "23.1")
439 (ns-antialias-text ns boolean "23.1") 439 (ns-antialias-text ns boolean "23.1")
440 (ns-auto-hide-menu-bar ns boolean "24.1") 440 (ns-auto-hide-menu-bar ns boolean "24.1")
441 (ns-confirm-quit ns boolean "25.1")
441 (ns-use-native-fullscreen ns boolean "24.4") 442 (ns-use-native-fullscreen ns boolean "24.4")
442 (ns-use-fullscreen-animation ns boolean "25.1") 443 (ns-use-fullscreen-animation ns boolean "25.1")
443 (ns-use-srgb-colorspace ns boolean "24.4") 444 (ns-use-srgb-colorspace ns boolean "24.4")
diff --git a/lisp/emacs-lisp/generator.el b/lisp/emacs-lisp/generator.el
index 65def39bf2e..8251682590e 100644
--- a/lisp/emacs-lisp/generator.el
+++ b/lisp/emacs-lisp/generator.el
@@ -90,7 +90,7 @@
90 ;; Change this function to use `cl-gensym' if you want the generated 90 ;; Change this function to use `cl-gensym' if you want the generated
91 ;; code to be easier to read and debug. 91 ;; code to be easier to read and debug.
92 ;; (cl-gensym (apply #'format fmt args)) 92 ;; (cl-gensym (apply #'format fmt args))
93 `(make-symbol (format ,fmt . ,args))) 93 `(make-symbol ,fmt))
94 94
95(defvar cps--dynamic-wrappers '(identity) 95(defvar cps--dynamic-wrappers '(identity)
96 "List of transformer functions to apply to atomic forms we 96 "List of transformer functions to apply to atomic forms we
diff --git a/lisp/emacs-lisp/tabulated-list.el b/lisp/emacs-lisp/tabulated-list.el
index b12edc8c595..5d10b55d14c 100644
--- a/lisp/emacs-lisp/tabulated-list.el
+++ b/lisp/emacs-lisp/tabulated-list.el
@@ -179,7 +179,9 @@ If ADVANCE is non-nil, move forward by one line afterwards."
179 table) 179 table)
180 "The `glyphless-char-display' table in Tabulated List buffers.") 180 "The `glyphless-char-display' table in Tabulated List buffers.")
181 181
182(defvar tabulated-list--header-string nil) 182(defvar tabulated-list--header-string nil
183 "Holds the header if `tabulated-list-use-header-line' is nil.
184Populated by `tabulated-list-init-header'.")
183(defvar tabulated-list--header-overlay nil) 185(defvar tabulated-list--header-overlay nil)
184 186
185(defun tabulated-list-init-header () 187(defun tabulated-list-init-header ()
@@ -243,15 +245,17 @@ If ADVANCE is non-nil, move forward by one line afterwards."
243 (setq-local tabulated-list--header-string cols)))) 245 (setq-local tabulated-list--header-string cols))))
244 246
245(defun tabulated-list-print-fake-header () 247(defun tabulated-list-print-fake-header ()
246 "Insert a fake Tabulated List \"header line\" at the start of the buffer." 248 "Insert a fake Tabulated List \"header line\" at the start of the buffer.
247 (goto-char (point-min)) 249Do nothing if `tabulated-list--header-string' is nil."
248 (let ((inhibit-read-only t)) 250 (when tabulated-list--header-string
249 (insert tabulated-list--header-string "\n") 251 (goto-char (point-min))
250 (if tabulated-list--header-overlay 252 (let ((inhibit-read-only t))
251 (move-overlay tabulated-list--header-overlay (point-min) (point)) 253 (insert tabulated-list--header-string "\n")
252 (setq-local tabulated-list--header-overlay 254 (if tabulated-list--header-overlay
253 (make-overlay (point-min) (point)))) 255 (move-overlay tabulated-list--header-overlay (point-min) (point))
254 (overlay-put tabulated-list--header-overlay 'face 'underline))) 256 (setq-local tabulated-list--header-overlay
257 (make-overlay (point-min) (point))))
258 (overlay-put tabulated-list--header-overlay 'face 'underline))))
255 259
256(defun tabulated-list-revert (&rest ignored) 260(defun tabulated-list-revert (&rest ignored)
257 "The `revert-buffer-function' for `tabulated-list-mode'. 261 "The `revert-buffer-function' for `tabulated-list-mode'.
diff --git a/lisp/international/cp51932.el b/lisp/international/cp51932.el
index a6489268578..cb72356fea0 100644
--- a/lisp/international/cp51932.el
+++ b/lisp/international/cp51932.el
@@ -468,3 +468,5 @@
468 (setcar x (cdr x)) (setcdr x tmp))) 468 (setcar x (cdr x)) (setcdr x tmp)))
469 map) 469 map)
470 (define-translation-table 'cp51932-encode map)) 470 (define-translation-table 'cp51932-encode map))
471
472(provide 'cp51932)
diff --git a/lisp/international/eucjp-ms.el b/lisp/international/eucjp-ms.el
index 6e4e1e798b0..efb0a2b2d75 100644
--- a/lisp/international/eucjp-ms.el
+++ b/lisp/international/eucjp-ms.el
@@ -2085,3 +2085,5 @@
2085 (setcar x (cdr x)) (setcdr x tmp))) 2085 (setcar x (cdr x)) (setcdr x tmp)))
2086 map) 2086 map)
2087 (define-translation-table 'eucjp-ms-encode map)) 2087 (define-translation-table 'eucjp-ms-encode map))
2088
2089(provide 'eucjp-ms)
diff --git a/lisp/language/japanese.el b/lisp/language/japanese.el
index ce480252e7c..38159d7b458 100644
--- a/lisp/language/japanese.el
+++ b/lisp/language/japanese.el
@@ -34,8 +34,8 @@
34;;; Code: 34;;; Code:
35 35
36;;; Load translation tables for CP932. 36;;; Load translation tables for CP932.
37(load "international/cp51932") 37(require 'cp51932)
38(load "international/eucjp-ms") 38(require 'eucjp-ms)
39 39
40(define-coding-system 'iso-2022-jp 40(define-coding-system 'iso-2022-jp
41 "ISO 2022 based 7bit encoding for Japanese (MIME:ISO-2022-JP)." 41 "ISO 2022 based 7bit encoding for Japanese (MIME:ISO-2022-JP)."
diff --git a/lisp/loadup.el b/lisp/loadup.el
index 828b19e85e3..525cbad9db7 100644
--- a/lisp/loadup.el
+++ b/lisp/loadup.el
@@ -178,6 +178,8 @@
178(load "language/romanian") 178(load "language/romanian")
179(load "language/greek") 179(load "language/greek")
180(load "language/hebrew") 180(load "language/hebrew")
181(load "international/cp51932")
182(load "international/eucjp-ms")
181(load "language/japanese") 183(load "language/japanese")
182(load "language/korean") 184(load "language/korean")
183(load "language/lao") 185(load "language/lao")