repo.or.cz
/
emacs-jabber.git
/
commitdiff
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
raw
|
patch
|
inline
|
side by side
(parent:
9c8bea1
)
Fix :get function for jabber-roster-default-group-name
author
Magnus Henoch
<
[email protected]
>
Sun, 2 Oct 2011 20:00:19 +0000
(2 21:00 +0100)
committer
Magnus Henoch
<
[email protected]
>
Sun, 2 Oct 2011 20:00:19 +0000
(2 21:00 +0100)
jabber-roster.el
patch
|
blob
|
blame
|
history
diff --git
a/jabber-roster.el
b/jabber-roster.el
index
d12c4ea
..
fdc6ff5
100644
(file)
--- a/
jabber-roster.el
+++ b/
jabber-roster.el
@@
-155,9
+155,10
@@
Trailing newlines are always removed, regardless of this variable."
:group 'jabber-roster
:type 'string
:get '(lambda (var)
- (if (stringp var)
- (set-text-properties 0 (length var) nil var)
- var))
+ (let ((val (symbol-value var)))
+ (if (stringp val)
+ (set-text-properties 0 (length val) nil val)
+ val)))
:set '(lambda (var val)
(if (stringp val)
(set-text-properties 0 (length val) nil val))