Skip to content

Commit

Permalink
Fix byte compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dieterdeyke committed Dec 25, 2019
1 parent 2c54ce0 commit b6b15de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions volume.el
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ If OUTPUT cannot be parsed, raise an error."
"Set the volume to N percent."
(interactive "nSet volume (in percent): ")
(let ((new-value (volume-backend-call 'set n)))
(when (interactive-p)
(when (called-interactively-p 'any)
(volume-show new-value))))

(defun volume-nudge (n)
Expand Down Expand Up @@ -867,15 +867,15 @@ If N is negative, call `volume-raise' instead."
(volume-lower (* (or n 1) 10)))

(defalias 'volume-lower-more 'volume-lower-10)
(make-obsolete 'volume-lower-more 'volume-lower-10)
(make-obsolete 'volume-lower-more 'volume-lower-10 "2007-05-11")

(defun volume-raise-10 (&optional n)
"Raise the volume by 10 N percentage units."
(interactive "p")
(volume-raise (* (or n 1) 10)))

(defalias 'volume-raise-more 'volume-raise-10)
(make-obsolete 'volume-raise-more 'volume-raise-10)
(make-obsolete 'volume-raise-more 'volume-raise-10 "2007-05-11")

(defun volume-lower-50 (&optional n)
"Lower the volume by 50 N percentage units."
Expand Down

0 comments on commit b6b15de

Please sign in to comment.