1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-07 20:54:32 +00:00

Silence some warnings.

lisp/woman.el (woman-non-underline-faces): Use `set-face-underline'.
lisp/calc/calc.el (math-format-date-cache): Declare.
This commit is contained in:
Juanma Barranquero 2012-11-18 02:20:04 +01:00
parent c1f7ba3a74
commit c9ed8e3d2b
3 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2012-11-18 Juanma Barranquero <lekktu@gmail.com>
* woman.el (woman-non-underline-faces): Use `set-face-underline'.
* calc/calc.el (math-format-date-cache): Declare.
2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
* calc/calc-forms.el (math-julian-date-beginning)

View File

@ -464,7 +464,9 @@ to be identified as that note."
:type 'string
:group 'calc)
;; Dates that are built-in options for `calc-gregorian-switch' should be
(defvar math-format-date-cache) ; calc-forms.el
;; Dates that are built-in options for `calc-gregorian-switch' should be
;; (YEAR MONTH DAY math-date-from-gregorian-dt(YEAR MONTH DAY)) for speed.
(defcustom calc-gregorian-switch nil
"The first day the Gregorian calendar is used by Calc's date forms.
@ -500,8 +502,8 @@ the United States."
(const :tag "Sweden (1753 3 1)" (1753 3 1 639965))
(const :tag "Switzerland (Catholic) (1584 1 22)" (1584 1 22 578200))
(const :tag "Switzerland (Protestant) (1701 1 12)" (1701 1 12 620924))
(list :tag "(YEAR MONTH DAY)"
(integer :tag "Year")
(list :tag "(YEAR MONTH DAY)"
(integer :tag "Year")
(integer :tag "Month (integer)")
(integer :tag "Day")))
:set (lambda (symbol value)

View File

@ -2196,7 +2196,7 @@ To be called on original buffer and any .so insertions."
(face-underline-p face))
(let ((face-no-ul (intern (concat face-name "-no-ul"))))
(copy-face face face-no-ul)
(set-face-underline-p face-no-ul nil)))))))
(set-face-underline face-no-ul nil)))))))
;; Preprocessors
;; =============