diff options
| author | Peter Kleiweg | 2013-02-23 14:06:45 -0800 |
|---|---|---|
| committer | Glenn Morris | 2013-02-23 14:06:45 -0800 |
| commit | 2ae3d73667b6b59480070b4e6b4f7802cacc3455 (patch) | |
| tree | 49c2ae6302bf1343fad2db1a3294513318acf188 | |
| parent | e8ba2352060cd99e35409f9dd6a53e38267b070a (diff) | |
| download | emacs-2ae3d73667b6b59480070b4e6b4f7802cacc3455.tar.gz emacs-2ae3d73667b6b59480070b4e6b4f7802cacc3455.zip | |
Update ps-mode.el from upstream
* lisp/progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
(ps-mode-octal-region): Use string-make-unibyte.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/ps-mode.el | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 02bfc7b7539..1897e48d715 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl> | ||
| 2 | |||
| 3 | * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i. | ||
| 4 | (ps-mode-octal-region): Use string-make-unibyte. | ||
| 5 | |||
| 1 | 2013-02-23 Glenn Morris <rgm@gnu.org> | 6 | 2013-02-23 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * emulation/viper-cmd.el (viper-submit-report): | 8 | * emulation/viper-cmd.el (viper-submit-report): |
diff --git a/lisp/progmodes/ps-mode.el b/lisp/progmodes/ps-mode.el index dcb3e667f7c..0f994a8422b 100644 --- a/lisp/progmodes/ps-mode.el +++ b/lisp/progmodes/ps-mode.el | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | ;; Author: Peter Kleiweg <p.c.j.kleiweg@rug.nl> | 5 | ;; Author: Peter Kleiweg <p.c.j.kleiweg@rug.nl> |
| 6 | ;; Maintainer: Peter Kleiweg <p.c.j.kleiweg@rug.nl> | 6 | ;; Maintainer: Peter Kleiweg <p.c.j.kleiweg@rug.nl> |
| 7 | ;; Created: 20 Aug 1997 | 7 | ;; Created: 20 Aug 1997 |
| 8 | ;; Version: 1.1h | 8 | ;; Version: 1.1i |
| 9 | ;; Keywords: PostScript, languages | 9 | ;; Keywords: PostScript, languages |
| 10 | 10 | ||
| 11 | ;; Yoni Rabkin <yoni@rabkins.net> contacted the maintainer of this | 11 | ;; Yoni Rabkin <yoni@rabkins.net> contacted the maintainer of this |
| @@ -35,7 +35,7 @@ | |||
| 35 | 35 | ||
| 36 | ;;; Code: | 36 | ;;; Code: |
| 37 | 37 | ||
| 38 | (defconst ps-mode-version "1.1h, 16 Jun 2005") | 38 | (defconst ps-mode-version "1.1i, 17 May 2008") |
| 39 | (defconst ps-mode-maintainer-address | 39 | (defconst ps-mode-maintainer-address |
| 40 | "Peter Kleiweg <p.c.j.kleiweg@rug.nl>, bug-gnu-emacs@gnu.org") | 40 | "Peter Kleiweg <p.c.j.kleiweg@rug.nl>, bug-gnu-emacs@gnu.org") |
| 41 | 41 | ||
| @@ -806,7 +806,7 @@ Only one `%' is removed, and it has to be in the first column." | |||
| 806 | (while (re-search-forward "[\200-\377]" (marker-position endm) t) | 806 | (while (re-search-forward "[\200-\377]" (marker-position endm) t) |
| 807 | (setq i (1+ i)) | 807 | (setq i (1+ i)) |
| 808 | (backward-char) | 808 | (backward-char) |
| 809 | (insert (format "\\%03o" (string-to-char (buffer-substring (point) (1+ (point)))))) | 809 | (insert (format "\\%03o" (string-to-char (string-make-unibyte (buffer-substring (point) (1+ (point))))))) |
| 810 | (delete-char 1)) | 810 | (delete-char 1)) |
| 811 | (message "%d change%s made" i (if (= i 1) "" "s")) | 811 | (message "%d change%s made" i (if (= i 1) "" "s")) |
| 812 | (set-marker endm nil))))) | 812 | (set-marker endm nil))))) |