X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/d2fc7e3d0f6f57f962cbd94df3bf4fd15a37bb68..c8bd285ff8c078d9f8cf59a0d530b62263e4a1c1:/lisp/rot13.el diff --git a/lisp/rot13.el b/lisp/rot13.el index 89b687efdc..b185ba00ec 100644 --- a/lisp/rot13.el +++ b/lisp/rot13.el @@ -1,9 +1,9 @@ ;;; rot13.el --- display a buffer in ROT13 -;; Copyright (C) 1988, 2001-2011 Free Software Foundation, Inc. +;; Copyright (C) 1988, 2001-2014 Free Software Foundation, Inc. ;; Author: Howard Gayle -;; Maintainer: FSF +;; Maintainer: emacs-devel@gnu.org ;; This file is part of GNU Emacs. @@ -32,7 +32,7 @@ ;; This hack is mainly to show off the char table stuff. ;; ;; New entry points, `rot13', `rot13-string', and `rot13-region' that -;; performs Ceasar cipher encrypt/decrypt on buffers and strings, was +;; performs Caesar cipher encrypt/decrypt on buffers and strings, was ;; added by Simon Josefsson. ;;; Code: @@ -101,9 +101,9 @@ See also `toggle-rot13-mode'." (defun toggle-rot13-mode () "Toggle the use of ROT13 encoding for the current window." (interactive) - (if (eq (window-display-table (selected-window)) rot13-display-table) + (if (eq (window-display-table) rot13-display-table) (set-window-display-table (selected-window) nil) - (if (null (window-display-table (selected-window))) + (if (null (window-display-table)) (set-window-display-table (selected-window) rot13-display-table)))) (provide 'rot13)