aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2012-11-18 02:20:04 +0100
committerJuanma Barranquero2012-11-18 02:20:04 +0100
commitc9ed8e3d2ba6c7d6eda82a39cbfa87729f1ca53e (patch)
tree29c1ec2b8df67e93ef690a2f0da35c1596401afb
parentc1f7ba3a74da20e7a20f3f521d6f6b7550cd5d56 (diff)
downloademacs-c9ed8e3d2ba6c7d6eda82a39cbfa87729f1ca53e.tar.gz
emacs-c9ed8e3d2ba6c7d6eda82a39cbfa87729f1ca53e.zip
Silence some warnings.
lisp/woman.el (woman-non-underline-faces): Use `set-face-underline'. lisp/calc/calc.el (math-format-date-cache): Declare.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/calc/calc.el8
-rw-r--r--lisp/woman.el2
3 files changed, 11 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4c3f4e51ffb..b1bd67fc47d 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12012-11-18 Juanma Barranquero <lekktu@gmail.com>
2
3 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
4 * calc/calc.el (math-format-date-cache): Declare.
5
12012-11-17 Paul Eggert <eggert@cs.ucla.edu> 62012-11-17 Paul Eggert <eggert@cs.ucla.edu>
2 7
3 * calc/calc-forms.el (math-julian-date-beginning) 8 * calc/calc-forms.el (math-julian-date-beginning)
diff --git a/lisp/calc/calc.el b/lisp/calc/calc.el
index 2d75e897d9b..aeca45ebf26 100644
--- a/lisp/calc/calc.el
+++ b/lisp/calc/calc.el
@@ -464,7 +464,9 @@ to be identified as that note."
464 :type 'string 464 :type 'string
465 :group 'calc) 465 :group 'calc)
466 466
467;; Dates that are built-in options for `calc-gregorian-switch' should be 467(defvar math-format-date-cache) ; calc-forms.el
468
469;; Dates that are built-in options for `calc-gregorian-switch' should be
468;; (YEAR MONTH DAY math-date-from-gregorian-dt(YEAR MONTH DAY)) for speed. 470;; (YEAR MONTH DAY math-date-from-gregorian-dt(YEAR MONTH DAY)) for speed.
469(defcustom calc-gregorian-switch nil 471(defcustom calc-gregorian-switch nil
470 "The first day the Gregorian calendar is used by Calc's date forms. 472 "The first day the Gregorian calendar is used by Calc's date forms.
@@ -500,8 +502,8 @@ the United States."
500 (const :tag "Sweden (1753 3 1)" (1753 3 1 639965)) 502 (const :tag "Sweden (1753 3 1)" (1753 3 1 639965))
501 (const :tag "Switzerland (Catholic) (1584 1 22)" (1584 1 22 578200)) 503 (const :tag "Switzerland (Catholic) (1584 1 22)" (1584 1 22 578200))
502 (const :tag "Switzerland (Protestant) (1701 1 12)" (1701 1 12 620924)) 504 (const :tag "Switzerland (Protestant) (1701 1 12)" (1701 1 12 620924))
503 (list :tag "(YEAR MONTH DAY)" 505 (list :tag "(YEAR MONTH DAY)"
504 (integer :tag "Year") 506 (integer :tag "Year")
505 (integer :tag "Month (integer)") 507 (integer :tag "Month (integer)")
506 (integer :tag "Day"))) 508 (integer :tag "Day")))
507 :set (lambda (symbol value) 509 :set (lambda (symbol value)
diff --git a/lisp/woman.el b/lisp/woman.el
index 193dcd99022..1410a8971ad 100644
--- a/lisp/woman.el
+++ b/lisp/woman.el
@@ -2196,7 +2196,7 @@ To be called on original buffer and any .so insertions."
2196 (face-underline-p face)) 2196 (face-underline-p face))
2197 (let ((face-no-ul (intern (concat face-name "-no-ul")))) 2197 (let ((face-no-ul (intern (concat face-name "-no-ul"))))
2198 (copy-face face face-no-ul) 2198 (copy-face face face-no-ul)
2199 (set-face-underline-p face-no-ul nil))))))) 2199 (set-face-underline face-no-ul nil)))))))
2200 2200
2201;; Preprocessors 2201;; Preprocessors
2202;; ============= 2202;; =============