Skip to content

Commit

Permalink
ISSUE hayamiz#154: Fix differences in naming functions of epa.el in e…
Browse files Browse the repository at this point in the history
…macs

* twittering-mode.el: In Emacs version 27 function
(epa--decode-coding-string) was renamed to (decode-coding-string)
and it's cause the error on snapshot version of Emacs.
Proof:
http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=21ab346a07eff8ba43cb2738dc6752f012b77670
  • Loading branch information
Roman Zayrullin committed Dec 17, 2018
1 parent 114891e commit 3c56947
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions twittering-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@
(list str)))
process-environment)))))
ad-do-it)))

(when (>= 27 emacs-major-version)
;; Cheap support newest version of emacs plus backward compatibility
(defalias 'epa--decode-coding-string 'decode-coding-string))

(require 'url)

(defgroup twittering-mode nil
Expand Down

0 comments on commit 3c56947

Please sign in to comment.