diff options
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/emulation/viper-util.el | 13 |
2 files changed, 11 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5f0fe54217b..08dcb611ba7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2008-03-03 Glenn Morris <rgm@gnu.org> | 1 | 2008-03-03 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * emulation/viper-util.el (viper-frame-value): Prefer buffer-local | ||
| 4 | value, if set, over frame value. | ||
| 5 | |||
| 3 | * simple.el (transient-mark-mode): Don't turn on by default. | 6 | * simple.el (transient-mark-mode): Don't turn on by default. |
| 4 | 7 | ||
| 5 | * net/tls.el (open-tls-stream): Restore the 2007-11-04 change | 8 | * net/tls.el (open-tls-stream): Restore the 2007-11-04 change |
diff --git a/lisp/emulation/viper-util.el b/lisp/emulation/viper-util.el index e96f671cc53..291c03c4c4e 100644 --- a/lisp/emulation/viper-util.el +++ b/lisp/emulation/viper-util.el | |||
| @@ -130,11 +130,14 @@ Otherwise return the normal value." | |||
| 130 | ,variable | 130 | ,variable |
| 131 | ;; Frame-local variables are obsolete from Emacs 22.2 onwards, | 131 | ;; Frame-local variables are obsolete from Emacs 22.2 onwards, |
| 132 | ;; so we do it by hand instead. | 132 | ;; so we do it by hand instead. |
| 133 | ;; Distinguish between no frame parameter and a frame parameter | 133 | ;; Buffer-local values take precedence over frame-local ones. |
| 134 | ;; with a value of nil. | 134 | (if (local-variable-p ',variable) |
| 135 | (let ((fp (assoc ',variable (frame-parameters)))) | 135 | ,variable |
| 136 | (if fp (cdr fp) | 136 | ;; Distinguish between no frame parameter and a frame parameter |
| 137 | ,variable)))) | 137 | ;; with a value of nil. |
| 138 | (let ((fp (assoc ',variable (frame-parameters)))) | ||
| 139 | (if fp (cdr fp) | ||
| 140 | ,variable))))) | ||
| 138 | 141 | ||
| 139 | ;; OS/2 | 142 | ;; OS/2 |
| 140 | (cond ((eq (viper-device-type) 'pm) | 143 | (cond ((eq (viper-device-type) 'pm) |