diff options
| author | Glenn Morris | 2012-08-21 00:01:29 -0700 |
|---|---|---|
| committer | Glenn Morris | 2012-08-21 00:01:29 -0700 |
| commit | 2d225a3a99c155e47043a4fa1f3b011e0a78a4cb (patch) | |
| tree | d9de14a51a7435eee00da33d7e3d27cb4b917223 | |
| parent | b2403709bbae878659c5ddf321862a734bfb0953 (diff) | |
| download | emacs-2d225a3a99c155e47043a4fa1f3b011e0a78a4cb.tar.gz emacs-2d225a3a99c155e47043a4fa1f3b011e0a78a4cb.zip | |
Use cal-tex-arg more
* lisp/calendar/cal-tex.el (cal-tex-scriptsize, cal-tex-huge)
(cal-tex-Huge, cal-tex-large): Use cal-tex-arg.
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/calendar/cal-tex.el | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d0595f108cf..5a843fd0f5a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -4,6 +4,8 @@ | |||
| 4 | Use cal-tex-vspace. | 4 | Use cal-tex-vspace. |
| 5 | (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf) | 5 | (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf) |
| 6 | (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd. | 6 | (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd. |
| 7 | (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large): | ||
| 8 | Use cal-tex-arg. | ||
| 7 | 9 | ||
| 8 | * calendar/cal-tex.el (cal-tex-cursor-filofax-year) | 10 | * calendar/cal-tex.el (cal-tex-cursor-filofax-year) |
| 9 | (cal-tex-cursor-week, cal-tex-cursor-week2) | 11 | (cal-tex-cursor-week, cal-tex-cursor-week2) |
diff --git a/lisp/calendar/cal-tex.el b/lisp/calendar/cal-tex.el index 326deef69ba..5fbb20bac3b 100644 --- a/lisp/calendar/cal-tex.el +++ b/lisp/calendar/cal-tex.el | |||
| @@ -1928,15 +1928,15 @@ Add trailing COMMENT if present." | |||
| 1928 | 1928 | ||
| 1929 | (defun cal-tex-scriptsize (string) | 1929 | (defun cal-tex-scriptsize (string) |
| 1930 | "Insert STRING in scriptsize font." | 1930 | "Insert STRING in scriptsize font." |
| 1931 | (insert "{\\scriptsize " string "}")) | 1931 | (cal-tex-arg (concat "\\scriptsize " string))) |
| 1932 | 1932 | ||
| 1933 | (defun cal-tex-huge (string) | 1933 | (defun cal-tex-huge (string) |
| 1934 | "Insert STRING in huge font." | 1934 | "Insert STRING in huge font." |
| 1935 | (insert "{\\huge " string "}")) | 1935 | (cal-tex-arg (concat "\\huge " string))) |
| 1936 | 1936 | ||
| 1937 | (defun cal-tex-Huge (string) | 1937 | (defun cal-tex-Huge (string) |
| 1938 | "Insert STRING in Huge font." | 1938 | "Insert STRING in Huge font." |
| 1939 | (insert "{\\Huge " string "}")) | 1939 | (cal-tex-arg (concat "\\Huge " string))) |
| 1940 | 1940 | ||
| 1941 | (defun cal-tex-Huge-bf (string) | 1941 | (defun cal-tex-Huge-bf (string) |
| 1942 | "Insert STRING in Huge bf font." | 1942 | "Insert STRING in Huge bf font." |
| @@ -1944,7 +1944,7 @@ Add trailing COMMENT if present." | |||
| 1944 | 1944 | ||
| 1945 | (defun cal-tex-large (string) | 1945 | (defun cal-tex-large (string) |
| 1946 | "Insert STRING in large font." | 1946 | "Insert STRING in large font." |
| 1947 | (insert "{\\large " string "}")) | 1947 | (cal-tex-arg (concat "\\large " string))) |
| 1948 | 1948 | ||
| 1949 | (defun cal-tex-large-bf (string) | 1949 | (defun cal-tex-large-bf (string) |
| 1950 | "Insert STRING in large bf font." | 1950 | "Insert STRING in large bf font." |